Run it
Copy the script and paste it into your executor.
local GuiService = game:GetService("GuiService")
local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local player = Players.LocalPlayer
local function onErrorMessageChanged(errorMessage)
if errorMessage and errorMessage ~= "" then
print("Error detected: " .. errorMessage)
if player then
wait()
TeleportService:Teleport(game.PlaceId, player)
end
end
end
GuiService.ErrorMessageChanged:Connect(onErrorMessageChanged)simple script that automatically rejoins the same server if disconnected/kicked.

Universal