Is it possible to make it that a part won't block a click detector behind it from detecting your clicks?

I’m sort of in a dilemma, I have a game that revolves around clicking objects with your mouse, these objects use click detectors to detect clicks. As you progress in my game you can buy new islands. Before you buy an island, it is completely blocked by a large oval-like part:


I have a local script destroy said oval like blocker if you have bought the island, the problem is that server scripts are detecting clicks from the click detectors in the objects and a local script is destroying the island blocker, so it still exists on the server. This means that when I stand on the island and try to click on an object, it will be blocked by the island blocker and won’t detect anything. How can I get around this?

1 Like

TargetFilter should work!

EDIT: Actually I don’t think TargetFilter works with ClickDetectors. Here is an alternative that would work:

mouse.Button1Down:Connect(function()
    if mouse.Target == yourTargetPart then
        --perform action
    end
end)
1 Like