Advertisement
KINGOFCOOL

Untitled

Jan 9th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local engine = script.Parent.Parent.Engine
  2. local spd = 50000
  3. local position = engine.Position
  4.  
  5. while true do
  6. wait(.1)
  7. direction = engine.CFrame.lookVector
  8. position = position + spd*3*direction
  9. error = position - engine.Position
  10. engine.Velocity = spd*error
  11. engine.RotVelocity = Vector3.new(0, 0, 0)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement