School Project(HELP URGENT) : Jumping Problem

Im making this 2d Sidescroller and I woke up this morning to find out that jumping doesn’t work like it used to. For whatever reason, when you hit the jump button it automatically goes to the right. It worked just fine before, Im not sure what went wrong. This could end my semester if I cant fix it by tomorrow morning. I want jumping to go in the direction I pressed. I’m not getting that at the moment, and Im too newbish at the program to know how to fix the problem.

Heres a video to show what I mean.


After twelve seconds, Im only pressing the Up key. Sometimesit works fine, and then it starts acting up.

Goal: Be able to do a right or left jump when I want it.

Please Help, I need this Asap.