Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I detect if a server is about to shutdown?

I have seen this in games like Miners Haven. It shows a gui before the server shutsdown. Same thing happens when your about to shutdown a game with hd admin. What I would like to know is how you can use a script to see when this is about to happen.

1 comment

0

That's because they decided to initiate a "shutdown" so they know it will happen, that being said there is no native support to do this, but you can for example show everyone a gui then kick everyone and keep kicking people that join until it shuts down by itself. You can however trigger some code to happen during the actual shutdown with BindToClose.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.