"Maybe Israeli technology hasn't developed properly", he added. "One time, I killed a suicide bomber with an iPad 4".
After the beep, he told Baron Cohen: "I support Israel".
"And if they detect a pedophile, the wand alerts the law enforcement and schools within a 100-mile radius".
Despite his protests of innocence, Moore, who was accused of preying on underage girls in the scandal that tanked his campaign, managed to set off the machine several times.
Sacha Baron Cohen attends the Vanity Fair Oscar Party in Beverly Hills, Calif., March 4, 2018. "Did you lend the jacket to somebody else?"
Roy Moore said he was duped into appearing on the show and was "falsely portrayed as a sex offender and paedophile".
The complaint says: "Defendant Cohen's character falsely and fraudulently introduced a false and fraudulent "device" supposedly invented by the Israeli Army to detect paedophiles". The interview has already seen the light of TVs and, as of this writing, is still up on YouTube.
The lawsuit filed Wednesday in Washington, D.C., accuses Cohen of smearing Moore's name and intentionally inflicting emotional distress.
Moore was "induced", along with his wife, Kayla, to travel to Washington. The court document says Moore "would not have agreed to appear" if he had known the outcome.
Showtime issued the following statement: "The press has been sent copies of an alleged complaint, yet to our knowledge SHOWTIME has not been served".
The lawsuit ultimately claims the "fraudulent portrayal and mocking of Judge Moore as a sex offender" on the television show "severely harmed" his reputation and caused his family "severe emotional distress", as well as "financial damage".
The actions by Cohen and his network subjected the Moore and his wife to widespread ridicule.
The lawsuit asks for $95 million in punitive and compensatory damages.
Representatives of Baron Cohen did not immediately respond to requests for comment about the lawsuit, and Showtime also did not comment.
Former Alaska Gov. Sarah Palin also appeared on the show, slamming the prank in which Cohen appeared as a disabled USA veteran in a wheelchair as "evil" and "sick".
Moore signed a release before appearing on the show, but alleges it is void because it was signed under false pretences.
Running in heavily Republican Alabama, Moore lost his Senate race last December to Democrat Doug Jones after being accused of sexual misconduct toward female teenagers while in his 30s. He has denied the allegations.