Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

spawner brick will you help me please?

Hi, I am making a zombie survival game but I need a zombie spawner brick. I need it so after some time (lets say wait (5) ) It will spawn another model of a zombie (got zombie model). I have tried many times but can't figure it out please help!

In sight it should just: wait (5) spawn"zombie" in workspace repeat.

1 answer

✓ Accepted answer
while true do
function SpawnZombie()
	local g = game.ServerStorage.Zombie:Clone()
	g.Parent = game.Workspace
	g.Humanoid:MoveTo(game.Workspace.ZombieSpawner.Positon) --Also assuming that the Humanoid is called Humanoid.
end
wait(5)
SpawnZombie()
end

This discussion is preserved as it was. New answers, comments, and votes are closed.