#help

1 messages · Page 1 of 1 (latest)

calm helm
#

its a zombie shooter game and the player needs to kill all the 50 drooling zombies and if he kills every zombie then a zombie boss will spawn and try to kill him and if he kills it he will the kicked from the game but i dont know any of these things

#

and these drooling zombies dont even follow me

#

they are just standing there

lilac verge
#

spawn the zombies
declare a number
every zombie that gets killed adds to that number
if number == 50 then spawn the boss

#

Not too difficult to be frank. Alternative would be do either some folder logic. Yet that would be less efficient, and it's not that hard to make a consistent counter (as hell, all you're doing is adding to a value)

strong wind
#

Just create a NumValue in workspace

lilac verge
#

This is basic scripting knowledge. If that is hard for you then please learn how to script

strong wind
#

which would be the amount to kill

#

then inside the npcs add a .Died event

#

so that when the zombies die the counter goes up

#

then you just gotta add a if statement that checks if the counter is at 50

#

and then it will spawn the boss

#

thats it

#

not too bad

#

am i rite?

calm helm
#

This playlist didn't said nothing about that