Skip to main content

Script

Client Server

Script component. Not to be confused with the actual lua table instance of the script referred to as self.

Metamethods

boolean __eq(Script a, Script b)

Methods

integer RPC(string funcName, ... args)

string GetNetworkFlow()

string GetScriptUpdateTime()

string GetScriptCompileTime()

string GetScriptAttachTime()

string GetScriptStartTime()

Properties

boolean active

boolean activeInHierarchy

Object object

Object obj

boolean isDestroyed

string type

boolean Active

boolean ActiveInHierarchy

Object Object

Object Obj

boolean IsDestroyed

string Type

ScriptInstance instance

string name

string file

boolean syncToClients

integer priority

ScriptInstance Instance

string Name

string File

boolean SyncToClients

integer Priority