How do I use TeleportService?
COMMUNITY QUESTION
How do I use TeleportService?
3 answers
Here is a sample (Use in a localscript):
game:GetService("TeleportService"):Teleport(107795196, game.Players.LocalPlayer.Character)
What this does is it sends the localplayer to the place id 107795196, which in this case, would send them to "Welcome To My Profile".
You can just change the place id to any id you wish, as long as it's valid.
placeid = 107795196
game:GetService("TeleportService"):Teleport(placeid, game.Players.LocalPlayer.Character)
- LocalScript Required -
Destination=0000000 --Replace 0's with a place ID
game:service("TeleportService"):Teleport(Destination)
This discussion is preserved as it was. New answers, comments, and votes are closed.
