remix this if you plan on doing a platformer with smooth movement but please credit me!!
Thank you @Griffpatch for helping me with the code