A for left D for right Spacebar to jump If you really can't figure out good jump and movement physics then you can copy this or use it as an example mostly for helping beginners took about an hour or an hour and a half to code this. (I think)
God for talent Me for code 11JIP for idea to change y by 2 a bit to change isGrounded to false so I'm not at 0 velocity.