To shutdown I game, I currently :kick() every player from the game. This is not 100% effective though because if players rejoin quickly, the server won’t shutdown.
My question is: what is the most effective way to shutdown a server, which stops any possibility of players rejoining again?
That is a soft shutdown script. I don’t think it’s what you’re looking for - it seems like you are trying to shut down the server from in-game. The soft shutdown script works when you press the ‘shut down all servers’ button on the roblox webpage.
I would use one of the other posts that he posted, maybe the 2nd one