ScriptsDisabled (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26 No edit summary |
>Tenal No edit summary |
||
Line 4: | Line 4: | ||
|type = bool | |type = bool | ||
|protected = yes | |protected = yes | ||
|description = Sets whether [[BaseScript|script]] objects run their code | |description = Sets whether [[BaseScript|script]] objects run their code. Scripts that are running won't stop running. | ||
|object = ScriptContext | |object = ScriptContext | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 06:02, 31 March 2012
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
![]() | |
Type | bool |
Description | Sets whether script objects run their code. Scripts that are running won't stop running. |
Member of | ScriptContext |
Example
-- Will stop new scripts from running, but will not stop already running scripts game:GetService("ScriptContext").ScriptsDisabled = true