The National Organization for Marriage (NOM) and the North Carolina Values Coalition on Wednesday released an ad attacking North Carolina gubernatorial candidate Roy Cooper for opposing a state law that targets the LGBT community.

Cooper is challenging Republican Governor Pat McCrory in his bid for a second term.

McCrory in March signed House Bill 2, which blocks cities and municipalities from enacting LGBT protections and prohibits transgender people from using the bathroom of their choice in government buildings and schools.

Despite a boycott of the state that has racked up millions in lost revenue and jobs, McCrory has stood by the law, saying it is needed to protect the privacy of girls and women. Cooper has said that he would repeal it.

In its 30-second ad, NOM attacks Cooper's opposition to the law, claiming that his “bathroom plan” goes “too far.”

“Roy Cooper's bathroom plan. What does it mean to you? Any man at any time could enter a woman's bathroom simply by claiming to be a woman that day. No one is exempt. Even registered sex offenders could follow women or young girls into the bathroom or locker room. And no one could stop them,” a woman narrates.

“Protect women's privacy, prevent danger: Say no to Roy Cooper and his bathroom plan. It goes too far,” she adds over images of a man opening the door of a bathroom stall and frightening a young girl.

The suggestion here is that Cooper is complicit in such attacks and that without HB2 there is nothing keeping sex offenders from attacking minors in bathrooms.

NOM is best known for its fight to keep state bans that exclude gay and lesbian couples from marriage.