Roblox Script Build Tower Simulator SCRIPTS auto kill zombie

while wait() do
for i, v in next, workspace.Monsters:GetChildren() do
while v:FindFirstChild"Humanoid" and v.Humanoid.Health > 0 and wait() do
game:GetService"ReplicatedStorage".RemoteEvent.WeaponRemoteEvent:FireServer("takeDamage", { ["target"] = v, ["toolName"] = "M9"  })
end
end
end