What wires to redo first? 1975 custom

Also I was told the voltage regulator was replaced but it looks like the last leaked black goo all over the engine bay.
Voltage reg looks a lot like the ECU, are you sure it's not the ECU that is leaking? The ECU is known for the pottant leaking.