One way might be to apply some small down velocity when you are not jumping, in order to keep you against the ground.
You could switch the “pull down” feature on when you initially land on the ground, then turn it back off when you jump.
Also, for future reference, photographs of code are not a thing. If you post a code snippet, please use code tags:
How to use code tags: Using code tags properly