ORLANDO (CBSMiami/AP) — Any potential school shooter situation will send panic waves rippling through any educational institution and must be handled with extreme care.

The University of Central Florida Police Department is apologizing for using vague language in alerts that caused “undue panic and stress” for what turned out to be a false alarm of a gunman in a dorm.

READ MORE: Arrest Affidavit: Accused Hollywood Cop Killer Jason Banegas Claims He Was Trying To Kill Himself In Struggle With Slain Officer Yandy Chirino

The police department tweeted early Saturday that it made a poor choice in its initial language and was happy the incident was resolved peacefully.

A witness called the police to report seeing someone entering the dorm with a firearm in his waistband. It turned out to be a student with a BB gun.

READ MORE: Parkland Families Say They Want The Death Penalty

Initial alerts urged students to shelter in place and to stay away from windows and doors.

Students on the second floor of the dorm were ordered evacuated.

MORE NEWS: Push For State To Require Teaching Of Asian American History In Public Schools

Police officers say the student wasn’t arrested but faces discipline from the school.