RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"CREATE A ZOMBIE SPAWNER"
-- server script (ServerScriptService) local zombieTemplate = game.ServerStorage.Zombie local spawnLocations = game.Workspace.SpawnLocations:GetChildren() while true do local randomSpawn = spawnLocations[math.random(#spawnLocations)] local newZombie = zombieTemplate:Clone() newZombie.Parent = game.Workspace newZombie.HumanoidRootPart.CFrame = randomSpawn.CFrame wait(5) end