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

What's the quickest way to shutdown a server via script?

Asked by
iFlusters 355 Moderation Voter
8 years ago

Rather than clicking "Shutdown Server", what's the quickest way to shutdown a server via a script? Is it just inserting a script into Workspace with:

while true do
end

2 answers

Log in to vote
0
Answered by
JJ_B 250 Moderation Voter
8 years ago

Use game.Players:ClearAllChildren, it has an identical effect to a server shutdown.

Ad
Log in to vote
1
Answered by 8 years ago

If I were to answer it, I would be repeating things already answered here: https://scriptinghelpers.org/questions/336/best-way-to-shutdown-a-server There are plenty of methods listed there and explanations as to how they work idsuggestyougotakealook

Answer this question