Delay breaks for loop

I have a for loop that triggers a function that spawns a dice.

However I need those dice to not spawn so close together in time. So I tried to add a delay in the loop. The effect of this is that it fires at most twice, when it should fire 25 times. If I remove the delay it fires 25 times.

How can I space out the spawn times?

Instead Set a Timer that loops and increment an int until it reaches the target then stop the timer.

1 Like

Typically, all loop macros will be broken with delay. You want a custom macro “for loop with delay”. If you search YouTube, there are quick tutorials that show how to do the trick.

2 Likes