I had to overhaul the whole collision system because it glitched super hard when I tried to implement the x motion. I also separated the x motion from the y motion. Furthermore, I added slope management because why not.
the jumps may be a bit floaty