Humanoid Script Causing Self Death?

Hey there!
I have an NPC that has a kill script inside it. It’s parented only to the model, no specific body part. the issue is that it keeps somehow killing itself. I don’t know how or why. It has infinite health on the humanoid, and I’ve tried several different scripts. It’s supposed to damage the other players when it touches them.

Script:

local function onTouch(Touch)
 	if Touch.Parent:FindFirstChild("Humanoid") ~= nil then
		Touch.Parent.Humanoid.Health = 0
	
	end
end


script.Parent.HumanoidRootPart.Touched:Connect(onTouch)

The reason that is happening is because you just kill the thing that touches without checking if it is a different humanoid or not.You should check if Touch.Parent is not script.Parent