Hasli4

RBLX. TeleportScript

Jan 1st, 2026
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local StartPoint = script.Parent.Part1
  2. local EndPoint = script.Parent.Part2
  3. function TouchedFunc(touched)
  4.     if touched.Parent:FindFirstChild("Humanoid") then
  5.         local human = touched.Parent.HumanoidRootPart
  6.         human.Position = EndPoint.Position +Vector3.new(0,10,0)
  7.     end
  8. end
  9. StartPoint.Touched:Connect(TouchedFunc)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment