Advertisement
Floridaz

Untitled

Jun 19th, 2015
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local depth = 1
  2. local speed = 50
  3.  
  4. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,-depth,0)
  5. while true do
  6. for i = 1, speed do wait()
  7. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,-depth/speed,0)
  8. end
  9. for i = 1, speed do wait()
  10. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0,depth/speed,0)
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement