Press space, up arrow to jump. Down arrow to crouch. I just made this a little easier.
@Jaydon1x for the base coding.