Read inside. There are many changes to the basic code. I left it so that you can still jump through ceilings. I also deleted all the non-movement mechanics, sorry
Thanks to Galaktik for the original. I just fixed up a lot of code. Because when your brother is a programmer, you learn a lot