Advertisement
trixade

Untitled

Oct 8th, 2021
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. _G.loop = true
  2.  
  3. while _G.loop do
  4. function teleportTO(start)
  5. local plyr = game.Players.LocalPlayer;
  6. if plyr.Character then
  7. plyr.Character.HumanoidRootPart.CFrame = start;
  8. end
  9. end
  10. teleportTO(game:GetService("Workspace").ObstacleCourse.ObstacleEntries.Part.CFrame)
  11. wait()
  12. function teleportTO1(start)
  13. local plyr = game.Players.LocalPlayer;
  14. if plyr.Character then
  15. plyr.Character.HumanoidRootPart.CFrame = start;
  16. end
  17. end
  18. teleportTO1(game:GetService("Workspace").ObstacleCourse.ObstacleEnd.Part.CFrame)
  19. wait()
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement