I pretty much just copied the project "Smooth "Physics" movement with rotation and Gravity" but with a few edits The person that made it is @RobFarley74 and this is the project: https://scratch.mit.edu/projects/420117572