Advertisement
xmaanzach

Local Teleport (TextButton)

Jan 27th, 2019
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1.  
  2. local TeleportService = game:GetService("TeleportService")
  3.  
  4. local PlaceId = 1848160191
  5.  
  6. script.Parent.MouseButton1Click:Connect(function()
  7. local player = game.Players.LocalPlayer
  8.  
  9. TeleportService:Teleport(PlaceId, player)
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement