Hello, I've been trying to work on this game and i keep on getting this error (and yes i did call the function in another line of code)
local zombieclones = game.ReplicatedStorage.zombies:Clone()
local roundLength = 10
local function Survive()
print("Survive the Zombies")
zombieclones.Parent = game.Workspace
wait(roundLength)
zombieclones:Destroy()
end
Basically, what I want the code to do is make a clone of a bunch of drooling zombies, make the clone's parent workspace, wait 10 seconds, and then destroy the clones. I don't understand what's happening. For 1 round, it does what it's supposed to, but then the next round, nothing happens. Can you guys help me out here?
