So I have a problem where I am setting mouse.TargetFilter to a part let’s say called “Part1”. I set it like this:
if part.Name == "Part1" then
mouse.Targetfilter = part
end
The problem is that when I delete that part and replace it with an exact clone with the same name, the targetFilter doesn’t ignore that part and registers it as mouse.Target even though I used the code above again on the new copy with the same name.
So I don’t know why this is happening, if anyone can help me that would be much appreciated. Thank you.