I just went out to my car and tried to start it and was greeted with a loud click and all the power going out, the dash lights, etc until I removed the key and tried again. I put the key in again, got my dash lights lit up, and tried the windows and such and they seem to work fine. I then tried my headlights. The first click (the sidemarkers?) seem to work, but when I try to turn on the real headlights the power dies down and then barely comes back (very faint dash lights) then I hear a loud clicking/buzzing coming from the left side of the dash. The fact that the windows seem to have no issue going up and down makes me think it's not a dead battery but I have no idea how to diagnosis beyond that. I thought buying a 240SX would result in having a fun reliable car

. It didn't

.