You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want to increase the time before the servers shut down for updates
-
What is the issue? I’m trying to increase the time before the server shuts down but it doesn’t work, it turns off after 30 seconds anyway
-
What solutions have you tried so far?
I tried to find a solution but no one seemed to talk about it, I tried to take other scripts and redo it for myself but that doesn’t work either
Here is the script, it includes another script that should include animation and countdown before the server shuts down and then it includes another script in which there is also another animation with teleportation to another playground for updating
game:BindToClose(function(onServerShutdown)
for i, player in pairs(game.Players:GetPlayers()) do
player.PlayerGui.UpdateGui.UpdateFrame.startscript.Enabled = true
end
task.wait(400)
end)
I need to increase the time so that it is more than 5 minutes before the servers are updated, If you need more information, tell me!