Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I teleport everyone to another game upon joining?

I'm aware that TeleportService & Teleport are used, but otherwise, I'm not sure.

game:GetService("TeleportService"):Teleport()

1 comment

0

I don't understand why you would need to do that?

1 answer

✓ Accepted answer

Here is the code!

local teleportService = game:GetService("TeleportService")

game.Players.PlayerAdded:Connect(function(player) -- player joins game
	teleportService:Teleport(PlaceId, player) -- teleport the player to place
end)

1 comment

0

Ok I get why now, thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.