Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local engine = script.Parent.Parent.Engine
- local spd = 50000
- local position = engine.Position
- while true do
- wait(.1)
- direction = engine.CFrame.lookVector
- position = position + spd*3*direction
- error = position - engine.Position
- engine.Velocity = spd*error
- engine.RotVelocity = Vector3.new(0, 0, 0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement