New bug client initiated disconnect


ts happens when AUTO rejoining

from this script

local TeleportService = game:GetService(“TeleportService”)
local UserInputService = game:GetService(“UserInputService”)
local player = script.Parent.Parent
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild(“HumanoidRootPart”)
local idleTime = 0
local maxIdleTime = 1120

UserInputService.InputBegan:Connect(function()
idleTime = 0
end)

local lastPosition = hrp.Position

task.spawn(function()
while true do
task.wait(1)
idleTime = idleTime + 1
print(idleTime)
local currentPosition = hrp.Position
if (currentPosition - lastPosition).Magnitude > 5 then
idleTime = 0
lastPosition = currentPosition
end

	if idleTime >= maxIdleTime then
		TeleportService:Teleport(game.PlaceId, player)
		break
	end
end

end)

A private message is associated with this bug report

this happens when u try to rejoin to a server when youre the only player in the server, so it just shuts down and kicks u, the only solution for this is to tp to a privateserver, but im guessing you dont want them to get a free privateserver, so here is your answer

1 Like

Try kicking the player first, that should help!

wdym if i were to kick then i cant rejoin them cuz they gone