Battery fried and more

Had the same problem when I changed my regulator. I didn't have it grounded good enough and it boiled the battery from overcharging and even blew some of my lights. The regulator screws didn't fit tight to the sheet metal. I put in the next bigger sized screws and some star washers to fix the problem. I also went back to a points style regulator instead of the new electronic style which use the ground side of the circuit to complete the electrical path.