PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

ScriptContext

Show deprecated

ScriptContext

Show deprecated

This service controls all BaseScript objects. Most of the properties and methods of this service are locked for internal use, however you may use the ScriptContext/ScriptsDisabled property to disable all scripts from a thread with normal security access.


Properties

bool

ScriptsDisabled

[NotReplicated]

Sets whether BaseScript objects run their code. Scripts that are already running won’t stop running.

Functions

void

SetTimeout ( double seconds )

Limits how long a script is allowed to run without yielding.

Events

RBXScriptSignal

Error ( string message , string stackTrace , Instance script )

Fired when an error occurs.