Shutdown (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
Shutdown( )
Returns nil
Description: Closes the current Roblox Instance.
Member of: DataModel


Example
If using the Command Bar or a CoreScript...
game:Shutdown()
If using a Script or LocalScript...
game:Shutdown() --> s Shutdown