All the blocks are in the wrong order. The solution is here https://scratch.mit.edu/projects/1293361426.
Inspired by the video from the Scratch team https://www.youtube.com/watch?v=VUbrMjh4ub8 around 3 minutes in.