I have a button in my game that when pressed, rejoins you into the same game, a rejoin button. The issue I’m having is that whenever its pressed, 90% of the time I get error code 285: client initiated disconnect. and then 50% of the time when that happens, it resets the players leaderstats. Keep note my game is small and more often than not, there is only 1 person in the server doing the rejoins, I don’t know if that has anything to do with it.
here is my rejoin script, I can’t seem to find any better or more efficient scripts on devforum, every post is just this:
script.Parent.MouseButton1Click:Connect(function()
game:GetService("TeleportService"):Teleport(game.PlaceId)
end)
Any type of help is greatly appreciated.