I have already tried this script with no success.
-- I put this script as a child of a Part called Part.
local Block = game.Workspace.Part
function DestroyBlock ()
Part:Destroy()
end
Block.ClickDetector.MouseClick:Connect(DestroyBlock())
If you could help, I would be very happy.

1 comment
btw, you can replace "Part" in line 4 to "Block" and it wil work