hi i need help please my zombies named "noobs" attacking each others here is the script
local rarm = script.Parent:FindFirstChild('Right Arm') or script.Parent:FindFirstChild('RightUpperArm')
local larm = script.Parent:FindFirstChild('Left Arm') or script.Parent:FindFirstChild('LeftUpperArm')
local head = script.Parent:FindFirstChild("Head")
local debounce = false
local function dmg(hit)
if (hit.Parent ~= nil) and (not debounce) then
debounce = true
local hum = hit.Parent:FindFirstChild('Humanoid')
if (hum ~= nil) then
hum.Health -= 200
end
wait(1)
debounce = false
end
end
rarm.Touched:Connect(dmg)
larm.Touched:Connect(dmg)
head.Touched:Connect(dmg)

7 comments
where did i run it ?
where did i run it ?
You can add it to line 8, if (hit.Parent ~= nil) and (not debounce) and (not hit.Parent.Name == "noobs" then
and then he never marked the solution
can you please re do the script i dont understand
ok
its work but the noob still follow the other