I need to make a button for my Admin Control Frame that will shut down the server that I'm in! How do I do this?
How do I make a button that shuts down the server that I'm in?
2 answers
Currently, it seems the best answer is from Ultraw, and can be found here:
https://devforum.roblox.com/t/best-method-of-shutting-down-a-game/81726/7
You could kick everyone in the server, then kick any new players. Roblox should shut down the server automatically.
8 comments
That might work... but I'm looking for a more simple way!
There is no "Shut down server" function in Roblox. AFAIK this is the only solution.
The closest thing to it is the "Shut Down all Servers" option in the game menu, but I'm guessing you want something specific to each server?
I'll give it a try then!
PoppyandNeivaarecute just posted a link containing the code you would need.
Post the link for me please!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks! That worked!
Good to hear!