How to set a custom shutdown message [NOT SOLVED]

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

Soft Shutdown.rbxm (16.9 KB)
Put in ServerScriptsStorage

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
image

If you guys are still confused. Kicking doesn’t let you reconnect. it doesnt have the reconnect button.
image

The only way is to make a custom GUI. There’s no way to customize a built-in kick message (excluding Player:Kick()).

Hello, isn’t there any way it can make you migrate to new servers instead of just kicking people?

This will only stimulate it by the way so

Unfortunately, Roblox does not directly allow for customizing the message that appears during the “Migrate to next update” process. However, you can simulate this by creating your own shutdown procedure that notifies players and provides a reconnect button in the UI.

Step-by-Step Guide

  1. Create a Shutdown GUI: Design a GUI that will display the custom shutdown message and include a reconnect button.
  2. Script the Shutdown Procedure: Use BindToClose to display the GUI and handle the shutdown process.

Example Implementation

Step 1: Create a Shutdown GUI

  1. Create a ScreenGui: In StarterGui, create a new ScreenGui (e.g., ShutdownGui).

  2. Create TextLabel for the Message: Add a TextLabel to the ScreenGui to display the shutdown message.

  3. Create a Reconnect Button: Add a TextButton to the ScreenGui for the reconnect functionality.

Here’s an example layout for the GUI:

  • ScreenGui
    • TextLabel (Name: ShutdownMessage)
    • TextButton (Name: ReconnectButton)

Configure the properties of these elements to your liking (e.g., size, position, text).

Step 2: Script the Shutdown Procedure

  1. Create a LocalScript: In the ScreenGui, add a LocalScript (e.g., ShutdownScript).

  2. Handle the Shutdown and Reconnect:

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer

-- GUI Elements
local screenGui = script.Parent
local shutdownMessage = screenGui:WaitForChild("ShutdownMessage")
local reconnectButton = screenGui:WaitForChild("ReconnectButton")

-- Custom shutdown message
shutdownMessage.Text = "Game is updating. Please rejoin."
screenGui.Enabled = false

-- Function to display the shutdown GUI
local function displayShutdownGui()
    screenGui.Enabled = true
end

-- Function to handle reconnect button click
reconnectButton.MouseButton1Click:Connect(function()
    game:GetService("TeleportService"):Teleport(game.PlaceId, player)
end)

-- Bind to close event to display shutdown GUI
game:BindToClose(function()
    displayShutdownGui()
    -- Wait indefinitely to allow GUI to display
    while true do
        RunService.Heartbeat:Wait()
    end
end)

-- Optional: Trigger shutdown manually for testing
local function triggerShutdown()
    displayShutdownGui()
    -- Wait indefinitely to allow GUI to display
    while true do
        RunService.Heartbeat:Wait()
    end
end

-- Uncomment the line below to simulate a shutdown for testing
-- triggerShutdown()

Did you use ChatGPT or what lol

I’m pretty sure that all of his solutions are produced by AI. He doesn’t even hide the fact that he does it either and is just solution farming.

1 Like

Just do something like this:

Thats not what im asking for. read the description/my comments on the post to get the idea

This is the description of what i want.

You can’t possibly change the migration message, so this topic is completely worthless.