So far I've got this:
1
2
3
4
2
3
4
math.random(1,25) - for the zombies math.random(1,50) - for the head-crabs math.random(1,75) - for the snarks math.random(1,100) - for the vortigaunts
Now I want this to last for 3 seconds only so I'll add a delay
1
2
3
4
2
3
4
timer("3000",stop()) - I forgot how to use these :P function stop() zmatk=false end
now for the actual function
1
2
3
4
5
6
2
3
4
5
6
function zmatk() if zmatk==false then zmatk=true timer("3000",stop()) end end
So that's all I've got, not a lot but I tried
I need:
3 Seconds attack (can be changed if needed)
math.random to place random NPCs
and everything else above