What are you trying to approach?
MAybe you should have alook at LibAsync.
Or try to use
zo_callLater(function() ... end, delayInMS)
within the loop where delay will increase each time by 5 seconds and thus the code in the loop will just delay each PlaySound for 5, 10, 15, 20, ...seconds
|