# data[].attributes.body
Download and double click to open in Roblox Studio. Only one Ninja per group needs to open this.

# data[].attributes.body
Download and double click to open in Roblox Studio. Only one Ninja per group needs to open this.

# data[].attributes.body
Download and double click to open in Roblox Studio. Only one Ninja per group needs to open this.

# data[].attributes.body
Download and double click to open in Roblox Studio. Only one Ninja per group needs to open this.

# data[].attributes.body
Download and double click to open in Roblox Studio. Only one Ninja per group needs to open this.

# data[].attributes.body
This code belongs inside the button

Make sure to have:

A Part that is called "Door1" to reference.

Also in the Button Part there is a "Click Detector"

# data[].attributes.attachment_link.readable_text
local button = script.Parent
local door = game.Workspace.Door1

button.ClickDetector.MouseClick:Connect(function()
	door.Transparency = 0.5
	door.CanCollide = false
end)

# data[].attributes.attachment_link.readable_text
--Input this code in a Script within the ServerScriptService

local replicated = game:GetService("ReplicatedStorage")

while true do
	for _, part in game.Workspace:GetChildren() do
		if part.Name == "Spawner" then
			if part.Transparency ~= 1 or part.Anchored == false then
				part.Transparency = 1
				part.Anchored = true
			end
			
			if math.random(1,2) == 1 then -- randomness so that sometimes zombies won't spawn on certain spawners
				local zombie = replicated.Zombie:Clone()
				
				if zombie:IsA("Model") then
					zombie.PrimaryPart = zombie:FindFirstChildWhichIsA("BasePart")
					zombie.PrimaryPart.Position = part.Position + Vector3.new(0, 2, 0)
				else
					zombie.Position = part.Position + Vector3.new(0, 2, 0)
				end
				
				zombie.Parent = game.Workspace
			end
		end
	end
	wait(5) -- customize time for a new "wave of zombies" here
end
    

# data[].attributes.attachment_link.description
Discover millions of assets made by the Roblox community to accelerate any creation task.