Updated

A Manhattan judge has sprung the hard-partying beauty who drew swarms of cops to the Gramercy Park Hotel last week after flashing a collection of BB guns during a livestreamed party — telling the brunette to “stay out of trouble” after she spent the entire appearance goofing off.

EX-CON EX-BOYFRIEND SOUGHT AFTER NY CORRECTION OFFICER SHOT DEAD IN CAR

Selfie-loving Maxine Hansen initially was held on $30,000 bond following her arraignment on charges of felony criminal possession of a controlled substance, possession of an imitation pistol and unlawful possession of marijuana last week, but Manhattan Criminal Court Judge Laurie Peterson exonerated the sum Monday after the felony was downgraded to a misdemeanor.

Hansen — whose Instagram is littered with sexy snaps — spent the appearance flipping her hair, flirting with officers, and making various faces at shutterbugs.

LOUISIANA MAN WHO SHOT EX-NFL PLAYER JOE MCKNIGHT CHARGED WITH MANSLAUGHTER

Swimming in beige jailhouse duds, the fit 25-year-old puffed out her chest and eyed court officers as the judge addressed her.

“If you are so much as late, if you do not show up to court, I will recommend you be hit with bail-jumping charges,” Peterson warned Hansen, who appeared more focused on her handcuffs than the judge. “Stay out of trouble.”

“Yes, ma’am,” she smirked.

Leaving court, Hansen told The Post she thought Rikers needed its own TV show, titled “Rikers Gone Wild” — and that she wants to “be the star.”

“I’m so animated,” she declared. “And my whole life has been wildness.”

Click for more from The New York Post.