A Vermont father was arrested and charged with harassment in New Hampshire on Tuesday after allegedly threatening his daughter’s school.

The man said if his daughter were exposed to transgender students or drag queens he would commit a mass shooting, according to authorities.

A judge has now granted an extreme risk protection order, barring the man from purchasing or possessing dangerous weapons for at least six months.Shane Gobeil, 36, of Canaan, Vt., was shopping in a grocery store in neighboring New Hampshire on Monday when he threatened The Canaan Schools — a campus that shares both an elementary and high school — to two students in the store, according to a police affidavit obtained by The New Hampshire Union Leader.The affidavit states that during a conversation about dress codes with the teens, which video cameras recorded, Gobeil says, “The school’s changing.