An enterprising West Chester University student apparently operated a marijuana-distribution center out of his dorm room, complete with a BB gun for protection and grassroots advertising, according to police.

“Yerrrrr if you need edibles or carts hit up your neighbor Zac in 301...,” read homemade fliers created by Zachary Given, a 19-year-old from Coatesville, as detailed in the affidavit of probable cause filed in his arrest Sunday.

Given has been charged with felony drug possession with intent to deliver and related offenses, court records show. He was released Wednesday morning after posting 10% of $50,000 bail.

There was no indication if he had hired an attorney.

Given’s advertising was discovered last week, when university police responded to Brandywine Hall for reports of underage drinking.

Inside the room where the drinking was taking place, officers encountered Given, who was sleeping. Next to Given’s bed, the officers found vape cartridges labeled as containing THC, as well as a glass bong.

They also found the stack of fliers, which urged potential buyers to contact Given through Snapchat.

Given consented to a search, which turned up THC-infused baked goods, marijuana, the BB gun, and a rough accounting by the teen of how much one student owed him for a sale of a vape cartridge.

Nancy Santos Gainer, a spokesperson for the university, said federal privacy rules prohibited her from commenting on Given’s enrollment status at the school or any discipline he may face.

In a statement, she said that Given’s alleged actions “are not in keeping with the culture at WCU and go against the inherent values of our community.”

“As a public safety practice, the university community is often reminded, ‘If you see something, say something,’” Santos Gainer said. “The university applauds the individual who called in the tip, and WCU police officers who took immediate action to cease the unacceptable activity.”