i have made a script that basically clones something to the player if "hit.Parent.Torso" exists, but it always hits an accesory (sometimes), so is there a ignore list for the touched event?
✓ ANSWER ACCEPTED
Is there a "Ignore list" On a touched event (part) ?
1 answer
✓ Accepted answer
You would just have to include an additional check. Something like this to keep looking for a model.
local function getModel(hit)
while hit and not hit.ClassName == "Model" do
hit = hit.Parent
end
return hit
end
There is an event which may even be better for you. The Humanoid includes a event called Touched.
Hope this helps.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
tysm yes