They are also accused of threatening to shoot a teacher at Burlington Technical Center.

The two students, Landon Dusablon and Ethan Homola have been arraigned and charged in connection with the allegations.

Chittenden County State's Attorney T.J. Donovan tells NewsChannel 5 that the threats were discovered on one of the students' Facebook pages during an investigation into armed robbery in Burlington earlier this month. In that case Dusablon, and three other teens are accused of robbing Homola of nearly $1,000.

“Nobody has any tolerance and any appetite for this nonsense,” Donovan said. “The world has changed after Newtown, Conn., and I don't think anybody has any tolerance for kids talking about going into a school and shooting it up.”

In a sworn statement provided to the court, Milton police Detective Paul Locke says that before Dusablon gave him permission to access his computer, the high school student described the Facebook conversation in question as "joking in nature."

Court documents part of the alleged conversation, which names two administrators and the two teachers.

“Wanna get caught for fun tomorrow? Bring a gun to school ok?” Homola said according to the affidavit. “I’m down. Lets shoot up the school?” Dusablon replied.

As a precaution Milton police officers took posts at both the elementary and high schools Thursday morning, but remained only at the high school through the end of the day.

“Certainly any kind of threat like that -- I'm going to and my staff is going to take very seriously,” said Milton School District Superintendent Dr. John Barone. “I'll work with the Police Department to make sure that we have officers continually with a presence in our school until this is resolved.”

In court Thursday, Dusablon’s attorney, Sarah Reed, said the Facebook messages were a joke that First Amendment rights protect.

“A conversation that takes place in a bedroom between two friends that are miles apart that clearly, I mean this conversation evolves into such a ridiculous conversation,” she said.

“I don't think you can say that you're going to threaten to shoot a specific person in a specific place and have access to guns and say it's a joke,” Donovan said.

The defendants were charged and released into their parents' custody.

Barone said police will be at the high school through at least Friday. He said he did not know of any parents who pulled their students from school Thursday, but that an alert had been sent out to the entire district.