use the arrow keys to jump and go forward, avoid the green bars. If the green platform is disappearing, click the green flag and it won't.
Thank you @griffpatch for the tutorial, I actually was making a scrolling platformer and there was something wrong.-. so I just made Cuby bird. Make sure to check out: https://scratch.mit.edu/projects/431642310/