Players teleport

How do I teleport players using only names?

First you need to go to Game Settings > Security and turn the Third Party Teleports on:

then you need to put this code

local Players = game:GetService("Players")
local TeleportService = game:GetService("TeleportService")
local TARGET_PLACE_ID = 1818 -- replace with your own place ID
local playerToTeleport = Players[PLAYER_NAME] -- put the player's name here
TeleportService:TeleportAsync(TARGET_PLACE_ID, {playerToTeleport})

hope this helps

1 Like

Teleport as in move positions or teleport as in teleport service to multiple games? if it’s the second one than see @lionel760x’s solution.