Jumping problem

Hello, I have noticed a problem. I don’t test every game feature after minor changes, which is clearly my bad. Character can’t jump, for the test I put a print string at the end of the jump script (after set can space to true), the text was displayed when I tried to jump. I conclude there is something wrong with my character movement or jumping function.


I have attached some screenshots.
Could you help me?

Best regards!

How’s this:

image

Thank you for responding.
Zrzut ekranu (902)

My mistake was to use the event tick and set the movement mode to walking if the character was not on a ladder. Problem solved.