When you write that you heard a "click" from the computer, from which part of the computer was it? Was it from the HDD??
could be the PSU?
It certainly could be.
A problem like that is usually either a faulty PSU or:
A short
or
Over heating
It could be anything, and we really need more detail from you in order to make a diagnosis