Apologies for that, this was my first time making a platformer like this and it was for a school project. I will try to polish up the physics when possible, thank you for the feedback!