Advertisement
HowToRoblox

TeleportHandler

Nov 29th, 2021
1,611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local tps = game:GetService("TeleportService")
  2.  
  3. local re = game.ReplicatedStorage:WaitForChild("TeleportSystemRE")
  4.  
  5. re.OnServerEvent:Connect(function(p, id)
  6.    
  7.     tps:TeleportAsync(id, {p})
  8. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement