How to make character movement back to default after flying. [resolved]

It’s been three days, and I’m stuck on this.
I want my character to fly sometimes, and when the player goes back to the floor, it should move like before (walking, falling, jumping, etc.). However, it’s not working.

No matter what I try, it won’t behave as before.
Example:

  • If I set it to walk, it will walk but never fall.
  • If I set it to fall, it will continuously fall, etc.

I’m out of ideas.

Never mind… (Why is it always after I ask for help, after struggling for so long, that I find the answer five minutes later?)