How do i create a Shutdown timer in game so the game shutdown auto sometimes to fix server
If this helps, please accept my answer. I am not sure if there is a way to shut a server down, I will just use kicking.
-- The scope below will loop through the service of "Players" and get all players. It then kicks all the players. for i,Player in pairs(game.Players:GetPlayers()) do Player:Kick('Game has shutdown') -- Kick uses a parameter of the message, you can change he message. end