Spark Enigma

Make sure it is getting "run" voltage at the time it dies. My "guess" would be a bad coil, but it also could be other things, or a bad ECU. Make SURE the ECU is grounded. Is the coil getting hot?