Director Kevin Smith is on the mend following a massive heart attack Sunday night.

“After the first show this evening, I had a massive heart attack,” Smith, 47, tweeted alongside a selfie from the hospital early Monday. “The doctor who saved my life told me I had 100 percent blockage of my LAD artery (aka ‘the Widow-Maker’). If I hadn’t canceled show 2 to go to the hospital, I would’ve died tonight. But for now, I’m still above ground!”

The “Clerks” auteur was scheduled to perform two standup shows in Glendale, Calif., on Sunday night, which he promoted on his Facebook account just hours before his hospitalization.

The Red Bank, New Jersey, native dropped the pounds with a combination of dieting (especially limiting his intake of sugary drinks) and juicing, though he admitted that aside from walking daily, he’s still not an “exercise guy.”

“Since I was a kid, it was always, ‘eat what you want,'” he told Men’s Health in 2015. “I was the third child, so by the time my parents got to me, man, they were f—king tired, so they were never, like, ‘Eat your vegetables, Kevin.’ So I just ate what I wanted, and — I know how f—king stupid this sounds, man, but I kind of thought, ‘Well, um, sugar comes out of the ground, so it can’t be too terrible for me, right?’ Which is just ridiculous. So then I watch this [‘Fed Up’] documentary last year, and I was, like, ‘Oh, man, um, I really don’t wanna die — and I’m already 44 years old.”

After the first show this evening, I had a massive heart attack. The Doctor who saved my life told me I had 100% blockage of my LAD artery (aka “the Widow-Maker”). If I hadn’t canceled show 2 to go to the hospital, I would’ve died tonight. But for now, I’m still above ground! pic.twitter.com/M5gSnW9E5h