How would I make a fly script that follows where I'm looking

Hello I am newish to scripting and I want to make a flight ability that will go where ever you point and doesn’t fling you.

also how could I make like they are riding on something like a staff would I use animations or something like that.

use bodyvelocity for the flight movement. use bodygyro and constantly set the bodygyro’s CFrame to where the camera’s pointing. play around with the max force to make it as smooth as you want when it turns. make sure you set the humanoid to PlatformStand when its flying.

What’s platform stand I’ve never heard of it.

PlatformStand is a true/false value in the humanoid that basically keeps the player from standing upright, and also cancels the default animations while it’s true. I’ll send a video.

https://i.gyazo.com/bf5679b518357b91ea26357de9a3f7d5.mp4

It makes the flight script less buggy.

1 Like

how does it make I less buggy I was planning on replacing the anims

I’ll send you a couple examples.

WITHOUT platformstand:
https://i.gyazo.com/9c0848adb978fd66e2344ef6c8f71ba2.mp4

WITH platform stand:
https://i.gyazo.com/2c2b0f1d4f5780bf2820fd8399a69db2.mp4

1 Like