Most of the times 3 zombies spawn, but why does sometimes only 2 spawn?
for i = 1, 4 do
local zombieClone = zombieTemplate:Clone()
local chosenSpawnpoint = spawnpoints[math.random(0, #spawnpoints)]
if zombieClone then
zombieClone.Parent = workspace
zombieClone.HumanoidRootPart.CFrame = chosenSpawnpoint.CFrame
end
end