Scripts proceeds if trigger button is pressed.