I’ve seen in some games, when a game shuts down it has a custom message like “Game is updating. please rejoin” with a reconnect button to it. when I’m migrating to a new update it says “Player removed from a datamodel” so can you guys show me how to change the default migration message to the custom one?
Use Toolbox search Soft Shut down
When Shutdown Servers In they rejoin Without Reconnect button
Enjoy!
It’s called a soft shutdown.
You can make your own by using game:BindToClose()
(server script in ServerScriptService):
game:BindToClose(function()
for _, player in game:GetService("Players"):GetPlayers() do
-- code here
end
end)
what i mean is this kind of thing. i want to replace it
I think you guys should fully read the description i’ve written .
Yeah, game:BindToClose()
removes that message.
Is it customizable though? i dont want to remove it
You can do this:
game:BindToClose(function()
for _, player in game:GetService("Players"):GetPlayers() do
player:Kick("Server shutting down!")
end
end)
Yeah but it wont have the reconnect button. will it?
It won’t, but you can probably make a custom kick message.
That kicked Players player:Kick()
What im seeking is the one with the reconnect feature. that’s what i meant all along
I don’t think there’s a kick method that shows the reconnect button.
It will kick the player but it the thing is that it wont have the reconnect button. what im trying to achieve is to make a custom message for “Migrate to next update” feature on roblox when you update yourr game
Well there is. Migrate to next update feature does have that reconnect button. but what im trying to find out is if i can change the actual message of it. replace the text from Player has been removed from the datamodel to a custom one
i think there is an easier method. because it is really time consuming. in the game that i was playing minutes ago, they either made a really similar ui or just they know the way of making the message custom
This kicks the player. i dont just want to kick the player but migrate to next update reconnect kick them. so in more detail whenever i activate “Migrate to next update” feature on roblox, instead of kicking everyone with only one button, being the “Leave” button, i also want it to have the reconnect button to it (as shown in the picture below). just like when you do “Migrate to next update”. But i want to make the message custom
If you guys are still confused. Kicking doesn’t let you reconnect. it doesnt have the reconnect button.