Ignition problem I think?

Well I figured it out the MSD box is faulty. It goes on and off. I checked the ignition wire that turns it on and off with mt test light and it stays lite when the box is off. So it has to be the box right.