--geração de zumbis

local part = game:GetService("ServerStorage").Zombie

while (true) do
	wait(5)
	local novaparte = part:Clone()
	portal = math.random(1,4)
	
	if portal == 1 then
		novaparte.Humanoid.RootPart.Position = workspace.Portal1.Position
	elseif portal == 2 then
		novaparte.Humanoid.RootPart.Position = workspace.Portal2.Position
	elseif portal == 3 then
		novaparte.Humanoid.RootPart.Position = workspace.Portal4.Position
		
		else
	end
	
	novaparte.Parent = workspace
	
	
	
	
	
	
	
	
	
end
