Flying in the air

Hello,

I would like to make a player flight mod in the air, controllable with the mouse.

This would be an adaptation of this mod: fly mod GTA youtube

I imagine that it is necessary to use a function like ApplyForceToEntity but I have difficulties to put this idea in practice, can you help me ?