How would i make a flying script but after your down holding W or (movement key) you wont automatically stop

Im trying to make a realistic jetpack but im confused on how not automatically stopping would work. I found a testing game with what i wanna do and i was wondering on how i would do it.

If you already have a flying script working, you can use

UserInputService.InputEnded:Connect(function()

and stop all movement

If you are trying to get the effect in the video, where they slow down over a short timeframe, you can tween the bodyvelocity or whichever force you’re using to 0 to provide a smoother effect.

1 Like

I already have the part and everything but i was wondering on how i would like keep on going in a certain direction instead of stopping automatically, (like in the video above)

Thank you thats what i was wondering

1 Like