-just for debugging: try to replace
wait(-random(0.05));
by
wait(1);
or by
wait(-0.05);
does it work?
-how many entities are created, when you comment the wait(...) out?
Is it as much as expected or are that many, but at the same place?