Try putting a while(!me) wait(1); at the beginning of your action.