How to make a server shutdown message

Good day,

So I am busy with game however, I can’t seem to find videos etc on how to make a server shutdown message.

So the idea is for a gui to appear untill the server shutdown happens. So like, if I update the game, or shut it down, it will display the GUI, and then shutdown the server or restart it.

2 Likes

try this

game:BindToClose(function()
    for _, player in game.Players:GetPlayers() do
        Remote:FireClient(player)
    end
end)

the remote being a client event that spawns the gui

2 Likes

So would I then have the GUI be visible on the playerGUI for players individually?

yes

This text will be blurred

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.