A to go left and D to go right.
I will probably make it better in the future. Thanks to A Shrew's Berry on YouTube for teaching me how to make this! Find the video here: https://www.youtube.com/watch?v=Cm8OG4Xx48k. And here is his profile: https://scratch.mit.edu/users/Shruz