TeleportService:Teleport() after fired, its an infinite loop teleporting players, never stops

So basically, the teleport is used to teleport players from lobby to main game, and when the remote is fired, the player does get teleported, BUT, when the game loads, they get teleported AGAIN to the game, and its an infinite loop, they never load into the game or make it past the Roblox loading game screen

Code being used:

game.ReplicatedStorage.JoinGame.OnServerEvent:Connect(function(Player)
	game:GetService("TeleportService"):Teleport(18672429749, Player)
end)

Link:

1 Like

Does the 2nd place also have this script? Because when the player joins it will keep trying to teleport. Just delete the script from the 2nd place.

2 Likes

nah , theres no teleport code in the other game , idk y its happening

1 Like