Is RunService.Heartbeat more efficient than while wait() do?

Would using the original code I posted suffice as well?

I think it looks pretty decent to me. It could use a little work in some areas, however I really only see a few minor things here and there that aren’t really going to hurt you too much.

1 Like

(and @tralalah)

Could you guys help me here? Having issues wth Tweening in my Boat script

Use non-expensive events when possible, so both methods are BAD.
Try to have an event that fires only when needed.

What is your solution, preferably using one of the many :Tween() posts above?

Possibly, or could use connected events for steer and throttle.

1 Like

Does anyone know how to check if the speed changed, like an event that does this?, Otherwise ima have to use heartbeat im guessing because im adjusting the steering angle of a car based off of vehicle seat velocity