ScriptsDisabled (Property)

From Legacy Roblox Wiki
Revision as of 06:02, 31 March 2012 by >Tenal
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
ScriptsDisabled
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