help my side scroller character cant jump? );

Okay so I am working on a game using directional gravity and I have it “working” needs a lot of polishing but it works so basically I had to make a player character from scratch and this is what I did for the jumping and it is not working