Trouble when programming brick pi

We’re students at José Rodrigo Botet highschool. We have Brick Pi for 3 or 4 years now and Raspberry Pi 2 , and the image We’re using scratch to programme it and if we use the “motor test”, the offiicial one, it works, but if we try it with a programme that we create it doesn’t work. We attach the program that we created and doesn’t work. (45.8 KB)