Shutdown (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>LocalChum
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<onlyinclude>{{Method
<onlyinclude>{{Method
|name = Shutdown
|name = Shutdown
|description = Shuts down the server by calling CloseConnection on every Player's NetworkReplicator.
|description = Closes the current Roblox Instance.
|object = DataModel
|object = DataModel
|protected = yes
}}</onlyinclude>
}}</onlyinclude>



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.
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