Like How Do I Make The Spawner And how to i put the zombie in it also im new to scripting
How Do I Make A Zombie Spawner?
2 answers
Ignore Sky, who is a complete brainlet.
You can achieve your goal by simply having an invisible or visible BasePart of your choice act as a spawner, and have a script inside of it with a timed loop that clones an NPC from ServerStorage and places it inside of the workspace with the position of the spawner.
-- put this script in uh the zombie and name it ZOMBIEREGEN
position = CFrame.new(0,0,0) -- change 0,0,0 to the position you want the zombie to spawn at
while true do
wait(40) -- change 40 to how long untill another zombie spawns
zombie = script.Parent:Clone()
zombie.Parent = game.Workspace -- where you want the zombies parent to be
zombie.Torso.CFrame = position -- change torso to UpperTorso if zombie is r15
zombie.ZOMBIEREGEN:Destroy()
zombie:MakeJoints() -- makeing sure the joints are correct
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You can't just ask for a script
/setblock ~ ~ ~ mob_spawner 0 replace {EntityId:"Zombie"}