Shutdown (Method)
From Legacy Roblox Wiki
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() -- shuts down the server, calls CloseConnection on every Player's NetworkReplicator, then calls SetMessage("The game has shut down") on the DataModel.If using a Script or LocalScript...
game:Shutdown() --> s Shutdown