The loud clicking noise coming from a faulty hard drive is MOST likely created by:
the coil reversing polarity in an endless loop.
one or more bad spindle motor bearings.
repeated motion of the read/write head armature parallel to the platter.
the solid state read/write head scratching the platter surface.