You will constantly jumping so just use the right and left arrows.Btw my first sonic game.Even though it looks like a platformer script I kinda made the one with the lessest scripts.I was well experimenting with the new engine I made and ya its good I ADDED SOME LEVELS
I used the Sonic frenzy jump sprite so credit to @-Rocket- Credit to @griffpatch for his physics tutorial but I kinda just did it for the first 3 mins then changed it into my own thing if you look at the code so I found it by a total accident.