Why do you have the repeat 10 times? The for loop will run it for each so you are running it 10 times for each.
This is how I was thinking.
On start of layout
-for each npc
--start timer "idleAnimation" random seconds
On timer "idleAnimation"
-for each npc
--Idle animation
--restart timer
The for each on the timer is due to if two timers go off at once they will be separated.
Let me know if you have any more questions.
...and thanks for trying my project! And don't worry, no one has found any of the eggs yet