Ok, so I made a shutdown script and to test it I shut down the VIP server im in. (I want to make sure it properly shuts down for everyone when a update comes out.)
However it does not stop at all and kicks me…
game:BindToClose(function() print("shutting down") game.Workspace.BoxStormSiren.Volume = 1 game.Workspace.BoxStormSiren:Play() game.ReplicatedStorage.GameClosing:FireAllClients() for i,plr in pairs(game.Players:GetChildren()) do DataStore2.SaveAll(plr) end wait(15) print("Shutdown complete..") end)
Am I just being really stupid or what?