function onTouched(hit)
local owner = script.Parent.Parent.Parent.Parent.Owner ---(The owner is a part value)
local h = hit.Parent:findFirstChild("Humanoid")
if (h ~= nil) then
if h.Parent.Name == owner.Value or
owner.Value ~= nil then
print ("Ok")
else h.Health = 0
end
end
end
script.Parent.Touched:connect(onTouched)
Anyone know how to fix?

2 comments
Nope. Heck we don't even know what the problem is. Maybe... Just maybe.... You ought to tell us what is happening.... Don't you think???
everytime I see findFirstChild I think feemodel.