Press right to go right. Press left to go left. Press up to jump. Don't touch lava. Touch the flag to win!
I used the scrolling platformer tutorial that @UdemyScratchCourse made. This was my first scrolling platformer but I will make better ones in the future if I still continue scratch. I'm probably going to stop because I'm more focused on other programming languages like HTML and Java.