I am making a game where I want to make it so all the zombies get destroyed. Whats the function?
If your trying to get the first child use FindFirstChild if you want to get a table of things such as a player use :GetChildren()workspace Here's an example
workspace:GetChildren() -- this gets the whole service in the explorer like camera, terrain etc
its
workspace:GetChildren() -- if you wanted to make a variable of the stuff you could do this local workspaceStuff = workspace:GetChildren() --note that this is a table