local ready = true
while true do
wait(3)
if ready == true then
ready = false
local zombie = game.ServerStorage.Zombie1
if not game.Workspace.ZombieFolder:FindFirstChild("Zombie2") then
local newZombie = zombie:Clone()
newZombie.Name = "Zombie2"
newZombie.Parent = game.Workspace.ZombieFolder
newZombie.CFramePart.CFrame = script.Parent.CFrame + Vector3.new(0,10,0)
end
wait(3)
ready = true
end
end
wait(1)
local zombie = game.ServerStorage.Zombie1
if not game.Workspace.ZombieFolder:FindFirstChild("Zombie2") then
local newZombie = zombie:Clone()
newZombie.Name = "Zombie2"
newZombie.Parent = game.Workspace.ZombieFolder
newZombie.CFramePart.CFrame = script.Parent.CFrame + Vector3.new(0,10,0)
end
end
while true do
wait(6)
local zombie = game.ServerStorage.Zombie1
if not workspace.ZombieFolder:FindFirstChild("Zombie2") then
local newZombie = zombie:Clone()
newZombie.Name = "Zombie2"
newZombie.Parent = workspace.ZombieFolder
newZombie.CFramePart.CFrame = script.Parent.CFrame + Vector3.new(0,10,0)
end
end