Advertisement
plytalent

asdad

Mar 11th, 2019
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game:GetService("Players").RynLaFreak
  2. local char = player.Character
  3. par = Instance.new("Part",char)
  4. par.Name = "PATH"
  5. x = 0
  6. y = 0
  7. z = 0
  8. function flypath()
  9. if char:FindFirstChild("PATH") ==nil then
  10. par = Instance.new("Part",char)
  11. par.Name ="PATH"
  12. par.Position = Vector3.new(char.Torso.Position.x + x,char.Torso.Position.y - 3.025+ y,char.Torso.Position.z + z)
  13. --print(char.Torso.Position.y)
  14. par.Anchored = true
  15. par.Size = Vector3.new(10,0.005,10)
  16. par.Transparency = 1
  17. else
  18. par.Position = Vector3.new(char.Torso.Position.x + x,char.Torso.Position.y - 3.025+ y,char.Torso.Position.z + z)
  19. --print(char.Torso.Position.y)
  20. par.Anchored = true
  21. par.Size = Vector3.new(10,0.005,10)
  22. par.Transparency = 1
  23. end
  24. end
  25. while wait(1/60) do
  26. flypath()
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement