Loop a scene / script

Is it allowed to have a script / scene being looped?

I have zigbee2mqtt lights and theses dont support light effects like Disco natively.

I would like to make a script, but I read that a script is not allowed to call itself since version … ?

Any suggestions?

You cannot call a script that is already running.

It may be possible to do it another way, with a timer. What are you trying to do?

My zigbee2mqtt have no effect like disco or color fade. And I would like to simulate this in the kids room / bathroom.

So use a 30-60 sec timer to change the colors. And a button to start /stop the timer.