Shutdown (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess No edit summary |
>LocalChum No edit summary |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Locked}} | {{Locked}} | ||
<onlyinclude>{{Method|name = Shutdown | <onlyinclude>{{Method | ||
|name = Shutdown | |||
|description = Closes the current Roblox Instance. | |||
|description = | |||
|object = DataModel | |object = DataModel | ||
|protected = yes | |||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}} | |||
{{Example|If using the [[Command Bar]] or a [[CoreScript]]...<pre>game:Shutdown()</pre>If using a [[Script]] or [[LocalScript]]...<pre>game:Shutdown() --> s Shutdown</pre>}} | |||
[[Category:Methods]] | [[Category:Methods]] |
Latest revision as of 23:07, 9 August 2011
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
Example
If using the Command Bar or a CoreScript...game:Shutdown()If using a Script or LocalScript...
game:Shutdown() --> s Shutdown