Thanks to @WinterUltima and @Animatronics298 ! I should try making a game with this lol If someone would fix the existent code so it's similar to what I originally had, though, I would like that... nothing against WinterUltima and Animatronics298, they're cool scratchers (:
The original collision was the collision here, but the collision is basically the same idea: https://www.youtube.com/watch?v=1euCFohZ014