This was simple but complicated at the same time everything kept doing something wrong and sorry about the start of the game.
Credits to El Rinco de Primaria for the tutorial on the velocity and gravity.