How can I make this script everytime the brick is touched if they don't have ZAnimate in there Character they die. It works only 1 time then it breaks or something
function onHit(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if not hit.Parent:FindFirstChild("ZAnimate") then
hit.Parent.Torso:remove()
end
end
script.Parent.Touched:connect(onHit)

2 comments
what if we remove it ?
You should remove it, if you have that script inside a Part, then it's useless because you're doing script > Parent(Part) > Disabled=true (?) A part does not have a "Disabled" property unless script.Parent it's a Script too, again it would be useless because if it the parent was a script too, then script.Parent.Touched event it's completely useless.