This is (if not, one of) my hardest projects I've made in a while, but I hope it gets viewed!
I made this with inspiration from this project: https://scratch.mit.edu/projects/922754106/ Pls don't take my code!!! Use the up and down arrow keys to change its speed.