This code is nonsense. There is no loop, no wait etc.

Read the tutorial, you must understand how actions work before you can write them.