i found your problem… it has something to do with your jump function.
and because your character has no gravity applied it floats upwards.
put this code in your update and it will fall on the ground.
moveDirection.y -= gravity * Time.deltaTime;
the only problem you now get is that your character gets slammed everytime.
(this is what i found out… i can be wrong… i’m not the best in scripting)
i hope it got you further in your struggle