Stopping the player from falling to the ground

  1. What do you want to achieve? Keep it simple and clear!
    I would like to create an attack where the player will float in the air for a second or two, like an air-combo in other games like project slayers, etc.

  2. What is the issue? Include screenshots / videos if possible!
    I do not know where to start. I have been looking through the forums but cannot find anything related to what I want to do. Whenever I tween the part up in the air, it just comes back down.

Video of what is going on:

What the closest thing I could find is:

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I have not tried anything so far, I am relatively new to scripting, sorry if I am not the greatest. If you need any existing scripts I can add those :slight_smile:


Your player drops back down after tweening it because it’s unanchored, meaning gravity is still being applied to it after you’re done moving it to the position you want. You could connect a function to the tween’s Completed event that anchor’s the player’s HumanoidRootPart for however long you want it to stay in the air.

3 Likes

That makes a lot of sense now that I think about it. Thanks a lot! :slight_smile:

1 Like