Right click the top part of a trigger which is the title.
Then copy and paste.
You can't use Triggering Player with a timer event.
Because there are no player triggering the trigger, Triggering Player most likely returns a value of -1 or something, hence the array underflow error.