Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

anyone know where I can find more information for this? (server teleport)

Asked by
roquick 41
6 years ago

Im trying to make a player teleport to a specific players server for example, player with the IGN robloxdude123 wants to join the same server as player IGN flowergirl123.

does anybody know any wiki sites that talks about doing this? trying to learn more about how to do this. thanks

0
Well I would recommand going to this link about teleport service.. But i will still help and figure out how to do this. http://wiki.roblox.com/index.php?title=TeleportService_guide Choobu 59 — 6y

1 answer

Log in to vote
0
Answered by
Choobu 59
6 years ago

If you wanted to do that but you will still need a GUI and might have to change the scripts a bit

local TeleportService = game:GetService("TeleportService") local level1Id = 408502340 --Place ID local level2Id = 408502380 -- Put Your Friend ID

local level1SpawnName = “SpawnLocation1” function onTouched(hit) -- Down here might have to change to Press Button local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then TeleportService:TeleportToSpawnByName(level1Id , level1SpawnName, player) end end

0
thank you roquick 41 — 6y
Ad

Answer this question