The pics is a bit fuzzy but it looks like a Gorilla Crab. Gorilla crabs are usually identified by the black tips to their claws and their hairy appearance. They can be destructive as they are omnivores and will eat other inverts, small fish and sometimes pick at corals.
I doubt the crab is causing the clicking sounds when lights are off, that sound is usually caused by a Pistol Shrimp or Mantis Shrimp.