Keep Script Running ?

I was wondering if there was a way to keep a script running. For example: if I had an applescript application with just ‘say “Hey!”’ and I told it to run … it runs it once and stops. Is there a way to keep it looping though the script ?

Thanks.

Sorry, solved with on idle.