I'm trying to teleport between places, but my script isn't working. The script is: local TeleportService = game:GetService("TeleportService") local placeID_1 = my place id local function onPartTouch(otherPart) local player = game.Players:GetPlayerFromCharacter(otherPart.Parent) if player then TeleportService:Teleport(placeID_1, player) end end script.Parent.Touched:Connect(onPartTouch). Whenever I try this, nothing happens. Could someone please show me the correct way to do it? Thanks!
Just as a sidenote for anyone else who lands on this. Teleportation does NOT work in studio, if you want to test teleportation you must be doing it in a live game. This means publishing your game first and playing it online.