How to make an "if" statement with the ClickDetector, for example, if someone clicks a block make something happen
Pretend I have a brick in the workspace called "Part" and inside it is a ClickDetector and a Script
local brick = script.Parent; brick.ClickDetector.MouseClick:connect(function() --Put your code here end)