Whenever I try I have to wait till i hit the ground again but I want to make a platformer like mario
Offline
Well you could simply separate the two scripts so that horizontal movement is not in the same script as your vertical (jumping) movement.
Offline
Can you upload the project so we can see the script you're using?
Offline