Question about EV3 control with AI2

I'm making my project with EV3 and trying to do combination in AI2. I have some problems.I tried to let EV3 doing multiple actions in one click,but it seens not working well.The actions cannot work step-by-step.Can anyone give some advice?My code is put below:

Hello Frank

Have you seen the MIT tutorials?