Skip to content

RunOnServer

Description

RunOnServer is a Client ONLY Function on Script
CLIENT ONLY! Tells the host to run the given function with the passed parameters.

Example
object.GetScriptByName("testScript").RunOnServer("Toaster", nil)
Usage

network usage: Client ONLY
returns: None
parameters:
- functionName (string)
- arguments ((optional) Wildcard(s))