ScriptContext

extends Instance

Class fields

FieldXML typeValue
NamestringScriptContext

Properties

1
ScriptsDisabled
bool
FieldXML typeValue
NamestringScriptsDisabled

Functions

7
AddCoreScript
(assetId: int, parent: Instance, name: string) → void
FieldXML typeValue
NamestringAddCoreScript
AddCoreScriptLocal
(name: string, parent: Instance) → void
FieldXML typeValue
NamestringAddCoreScriptLocal
AddStarterScript
(assetId: int) → void
FieldXML typeValue
NamestringAddStarterScript
GetHeapStats
(clearHighwaterMark: bool = …) → Tuple
FieldXML typeValue
NamestringGetHeapStats
GetScriptStats
() → Array
FieldXML typeValue
NamestringGetScriptStats
SetCollectScriptStats
(enable: bool = …) → void
FieldXML typeValue
NamestringSetCollectScriptStats
SetTimeout
(seconds: double) → void
FieldXML typeValue
NamestringSetTimeout

Events

2
CamelCaseViolation
(object: Instance, member: string, script: Instance) → void
FieldXML typeValue
NamestringCamelCaseViolation
Error
(message: string, stackTrace: string, script: Instance) → void
FieldXML typeValue
NamestringError