I capped the frame rate at 30 fps since I made the movement speed dependent on frame rate which would've messed things up such as the collision, this was made using scratch and converting using https://sheeptester.github.io/htmlifier/ . Thank you for viewing this and leaving feedback I will get started on fixing it right away.