A little more than six months after he was sentenced for heroin possession, comedian Artie Lange is set to appear in court in Newark on Friday for violations of his probation. Now, he’s offering to pay the way for anyone who needs rehab.

Lange, who recently finished a brief stay in rehab at The Retreat in Pennsylvania, had been sentenced to four years of probation in June in connection with a May 2017 arrest, when State Police found him with 81 decks of heroin. In state Superior Court, Judge Nancy Sivilli told Lange, 51, that he would have to stay clean to avoid jail time.

After testing positive for opioids and cocaine, Lange could face the consequences for those violations.

In a series of tweets on Tuesday night, Lange, who spent nearly a decade as a co-host on “The Howard Stern Show," announced that he would be taking requests for anyone who needs money to pay for rehab. He has long struggled with addiction. His character on the HBO series “Crashing” also has an addiction problem that mirrors his real life.

Lange said he would call his effort “The Survive the Party with Artie Fund.”

Guys I was at an amazing place getting clean. The Retreat in PA. I have insurance. But I’ve seen kids who don’t who can’t get help. I’ve gotta give back. Starting this Spring I will do 1 or 2 shows each month for as long as I live w all the money paying for one persons rehab! — Artie Lange (@artiequitter) December 11, 2018

“I have insurance,” Lange tweeted. “But I’ve seen kids who don’t who can’t get help. I’ve gotta give back. Starting this spring I will do 1 or 2 shows each month for as long as I live w all the money paying for one person’s rehab!”

Lange went on to say he would pay for one month of rehab for each person. He invited people struggling with drug addiction to tweet him in order to apply for money.

“It’s usually about 30 grand for the month including detox,” he said. “2 shows at a theater will do it.”

Lange said he expected his first related show to be in April.

“I’m fortunate guys,” he said. “Let me help u. Least I can do."

Despite his legal troubles, on Wednesday, Lange announced a new tour called “Live to Tell.” He is performing a New Year’s show in Cherry Hill and can also be seen in the third season of HBO’s “Crashing,” which premieres on Jan. 20.

Starting comedy tour in few months called Live to Tell Tour pic.twitter.com/YJmtaIH1Ml — Artie Lange (@artiequitter) December 12, 2018

Amy Kuperinsky may be reached at akuperinsky@njadvancemedia.com. Follow her on Twitter @AmyKup or on Facebook.