Brick destroys after click only to local player?

Does anyone know how to destroy a block for that local player, after a player clicks it?
This is really easy I know, but I just can’t figure it out.

Create a local script and write

local part = Instance.new(“Part”,workspace)
local CD = Instance.new(“ClickDetector”,part)

CD.MouseClick:Connect(function()
part:Destroy()
end)