Rotating a throttle lever when I press W/S

Hello DevForum, I am currently trying to make a trainkit for which I also plan that whenever you press W, the throttle lever will be animated and will rotate to the front, if I press S, the throttle lever will be animated and rotate to the back.

I may have some ideas such as using BodyGyro, however I wish to hear more tips on how to make this more efficient.

This is a picture on how the lever looks like.
565dc1e62c7971f778bb92e0e3363476

Any ideas? Feel free to answer this topic!

P.S: Sorry if I put this subject at the wrong topic.

1 Like

I’d use Motor for this. (not Motor6D)

Motor speed can be changed by setting it’s MaxVelocity

To rotate the part with it. Change DesiredAngle and it’s selected part will rotate itself.

Will try, thank you for the tip.

set the CFrame or the Vector3 directly