What I mean is like saying, if a part is somewhere, and it touches a other part, it does the function to that part, and not the players.
My guess is that it goes something like this :
function onTouch(touched)
if script.Parent.Touched:connect ~= humanoid then
end
if script.Parent.Touched:connect == humanoid then
end
end
script.Parent.Touched:connect(onTouched)
