ScriptContext

extends Instance

13 members

Class fields

FieldXML typeValue
NamestringScriptContext

Properties

1
ScriptsDisabled
bool
FieldXML typeValue
NamestringScriptsDisabled

Functions

10
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
DeserializeScriptProfilerString
(jsonString: string) → Dictionary
FieldXML typeValue
NamestringDeserializeScriptProfilerString
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
StartScriptProfiling
() → void
FieldXML typeValue
NamestringStartScriptProfiling
StopScriptProfiling
() → Dictionary
FieldXML typeValue
NamestringStopScriptProfiling

Events

2
Error
(message: string, stackTrace: string, script: Instance) → void
FieldXML typeValue
NamestringError
ErrorDetailed
(message: string, stackTrace: string, script: Instance, details: string, securityLevel: int) → void
FieldXML typeValue
NamestringErrorDetailed