I have a better way.
Make a script called "timer.sqs"
counter = 5
#loop
counter = counter - 1
~1
?counter <= 0 : loop
In that trigger in the condition forld put counter == 5 (when counter = 5)
I am using 5 as an example time limit for 5 seconds, adjust your time limit.