Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I make a button that shuts down the server that I'm in? [closed]

Asked by 4 years ago

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?

Closed as Not Constructive by hiimgoodpack and Torren_Mr

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
1
Answered by 4 years ago

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

0
Thanks! That worked! JB_SuperGamer 165 — 4y
1
Good to hear! PoppyandNeivaarecute 134 — 4y
Ad
Log in to vote
0
Answered by
compUcomp 417 Moderation Voter
4 years ago

You could kick everyone in the server, then kick any new players. Roblox should shut down the server automatically.

0
That might work... but I'm looking for a more simple way! JB_SuperGamer 165 — 4y
0
There is no "Shut down server" function in Roblox. AFAIK this is the only solution. compUcomp 417 — 4y
0
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? compUcomp 417 — 4y
0
I'll give it a try then! JB_SuperGamer 165 — 4y
View all comments (4 more)
0
PoppyandNeivaarecute just posted a link containing the code you would need. compUcomp 417 — 4y
0
Post the link for me please! JB_SuperGamer 165 — 4y