65 Barracuda - Idle and no start issues

I had that happened to me many years ago with a 65 barracuda with 273. It ended up being the coil was worn out. When the coil got hot from being near the hot engine, it just quit. It would run fine when the engine was cold but as it got hotter the car wouldn’t run.