of     1   

HILLBILLYY
#128193177Sunday, March 16, 2014 5:07 AM GMT

while wait(3) do if game.Workspace:FindFirstChild("Yellow-Team Zombie")~=nil or game.Workspace:FindFirstChild("Red-Team Zombie")~=nil then zombies=game.Workspace:FindFirstChild("Yellow-Team Zombie","Red-Team Zombie") if zombies~=nil then i=1,#zombies if zombies[i]~=nil then if zombies[i].Humanoid.Health<2 then zombie[i]:remove() end end end end end ---Getting unable to cast string to bool
reallycool1337
#128201266Sunday, March 16, 2014 7:58 AM GMT

Please post in scripting helpers, as this fourm is for technical issues
Ravenshield
#128202995Sunday, March 16, 2014 9:05 AM GMT

Your error lies in this line: zombies=game.Workspace:FindFirstChild("Yellow-Team Zombie","Red-Team Zombie") The method :FindFirstChild(name [string], descendant [bool]) asks for two parameters, where one is optional. The first parameter is a string - the name of the object you're trying to find. The second parameter is a bool - whether or not to search through all children of the parent-object, to find the object you wish to find. This is in case your object isn't a direct descendant of the parent. You should do zombies = {} zombies[1] = game.Workspace:FindFirstChild("Name1", true) zombies[2] = game.Workspace:FindFirstChild("Name2", true) if #zombies >= 2 theb --proceed end
HILLBILLYY
#128359553Tuesday, March 18, 2014 2:56 AM GMT

I figured out a much faster and more effective way for script to work thanks, Sorry didnt relies what forum i posted this in lol oops.

    of     1