xmaanzach

LocalTeleport Script

Jan 24th, 2019
2,582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1.  
  2. local TeleportService = game:GetService("TeleportService")
  3.  
  4. local PlaceId = 1848160191
  5.  
  6.  
  7. script.Parent.Touched:Connect(function()
  8. if hit.Parent:FindFirstChild("Humanoid") then
  9. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  10.  
  11. TeleportService:Teleport(PlaceId, player)
  12. end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment