Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Detecting if there are any zombies left in a hord.?

If there is a zombie left then it should print it.

local zombieHord = script.Parent

local Zombie = zombieHord.Zombie

if zombieHord:FindFirstChild(Zombie) then

print("there are some zombies left")

end

pls help

1 answer

my man the findfirstchild cant be used without "" so what you have to do is:

local zombieHord = script.Parent

local Zombie = zombieHord.Zombie

if zombieHord:FindFirstChild("Zombie") then
	print("there are some zombies left")
end

This discussion is preserved as it was. New answers, comments, and votes are closed.