Is there a script runtime limit?

Is there a time limit for a script to run? I’m trying to run a script before an event with a 30 min. wait in it.

I think there is but what is the limit?

There is not