I get no errors when executing this script can someone tell me what I'm doing wrong and fix it for me? Please and thank you.
for _, mob in pairs(workspace.Zombies.Mobs:GetChildren()) do
if mob.Name == "Zombie" then
mob:Destroy()
end
end

3 comments
I tried this and it seems to work, do you have an image of when it's not working? Possibly try adding a wait() after the first end
add print checks print("got", mob.Name, "mobs left:", #workspace.Zombies.Mobs:GetChildren())
if nothing prints the script probably ran before zombies was added to the mobs folder