Josh Orlian, a 12-year-old Modern Orthodox boy from White Plains, NY, had the judges of “America’s Got Talent” bent over with laughter with a stand-up comedy audition Tuesday night that was deemed “naughty, naughty, but nice.”

Audience members covered their mouths in shock at the confident tween’s unexpectedly smutty performance.

In one joke, Orlian, wearing a skullcap, said that after attending circus camp, he wanted to learn “sword swallowing,” but his mother objected. To which, he said, his father replied: “I’m not surprised. Your mother hasn’t been interested in sword-swallowing since we got engaged.”

His yarmulke-clad father, standing on the sidelines, was asked how Mom feels about the jokes.

“She just heard them for the first time,” he replied.

The judges — Howard Stern, Howie Mandel, Heidi Klum and Mel B. (the Spice Girl) — invited him back to the next level. “You’re 12 years old and you’re talking about all that dirty stuff. I like it!” Mel B. said.

“If nothing else you’ve got a great piece of tape for your [bar mitzvah] reception,” Mandel said, offering a “mazel tov” with his decision to vote in favor of sending Orlian to the next level.