Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:GetService("Players").RynLaFreak
- local char = player.Character
- par = Instance.new("Part",char)
- par.Name = "PATH"
- x = 0
- y = 0
- z = 0
- function flypath()
- if char:FindFirstChild("PATH") ==nil then
- par = Instance.new("Part",char)
- par.Name ="PATH"
- par.Position = Vector3.new(char.Torso.Position.x + x,char.Torso.Position.y - 3.025+ y,char.Torso.Position.z + z)
- --print(char.Torso.Position.y)
- par.Anchored = true
- par.Size = Vector3.new(10,0.005,10)
- par.Transparency = 1
- else
- par.Position = Vector3.new(char.Torso.Position.x + x,char.Torso.Position.y - 3.025+ y,char.Torso.Position.z + z)
- --print(char.Torso.Position.y)
- par.Anchored = true
- par.Size = Vector3.new(10,0.005,10)
- par.Transparency = 1
- end
- end
- while wait(1/60) do
- flypath()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement