
5.3k Views
1.3k Executions
Auto rejoin
Universal Script 📌
0liverFirst script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Auto rejoin script ,If you disconnect it will rejoin Set to auto-execute.
Updates
Script edited: Create script
local gs = game:GetService 'GuiService'
local reconnectDisabledList = {
[Enum.ConnectionError.DisconnectLuaKick] = true,
[Enum.ConnectionError.DisconnectSecurityKeyMismatch] = true,
[Enum.ConnectionError.DisconnectNewSecurityKeyMismatch] = true,
[Enum.ConnectionError.DisconnectDuplicateTicket] = true,
[Enum.ConnectionError.DisconnectWrongVersion] = true,
[Enum.ConnectionError.DisconnectProtocolMismatch] = true,
[Enum.ConnectionError.DisconnectBadhash] = true,
[Enum.ConnectionError.DisconnectIllegalTeleport] = true,
[Enum.ConnectionError.DisconnectDuplicatePlayer] = true,
[Enum.ConnectionError.DisconnectCloudEditKick] = true,
[Enum.ConnectionError.DisconnectOnRemoteSysStats] = true,
[Enum.ConnectionError.DisconnectRaknetErrors] = true,
[Enum.ConnectionError.PlacelaunchFlooded] = true,
[Enum.ConnectionError.PlacelaunchHashException] = true,
[Enum.ConnectionError.PlacelaunchHashExpired] = true,
[Enum.ConnectionError.PlacelaunchUnauthorized] = true,
[Enum.ConnectionError.PlacelaunchUserLeft] = true,
[Enum.ConnectionError.PlacelaunchRestricted] = true,
}
gs.ErrorMessageChanged:connect(
function()
local error_code = gs:GetErrorCode()
local error_type = gs:GetErrorType()
if error_type == Enum.ConnectionError.DisconnectErrors and
not reconnectDisabledList[error_code] then
print('Disconnect registered!')
while task.wait(5) do
game:GetService 'TeleportService':TeleportToPlaceInstance(
game.PlaceId, game.JobId)
end
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







