Less than four months since 20 children and six educators were gunned down at Sandy Hook Elementary School, the television show "Glee" depicted a school shooting in Thursday night's episode.

The episode, titled "Shooting Star," began with a disclaimer reading, "This episode of 'Glee' addresses the topic of school violence. Viewer discretion is advised."

Halfway through the episode, Will Schuester, the glee club coach played by Matthew Morrison, gathered his students in the choir room to begin their practice.

"Let's get started," he said, clapping his hands together as a gunshot was heard in the background. A second shot rang out and Schuester and a coach ran to shut the door to the choir room. They quickly moved students to secure spots in the classroom, hiding them behind speakers or in far corners.

"Start texting, tweeting, let everyone know what's going on but don't tell them we're here. Alright? Shooters have smart moves too," Schuester said to the teenagers.

"I love you guys," he told them.

For ten harrowing minutes, the students and two teachers were trapped in the classroom, sending texts to their loved ones and filming videos of each other in case they didn't survive. One student tried to leave the room when he realized his girlfriend was missing, but the teachers restrained him before he can leave.

In a different scene, one cheerleader stood atop a toilet in case the shooter tried to enter the restroom. She and two other students were eventually rescued by Schuester, and the SWAT team rescued the students trapped in the choir room.

"I'll never forget the look on their faces when that gun went off. Something was taken from them. Their innocence, their idealism, their feeling of safety," Schuester later said as he watched students pass through metal detectors set up at the high school following the shooting.

Sue Sylvester, the cheerleading coach played by Jane Lynch, eventually turned herself into the school principal, saying she accidentally shot the gun, which she kept in a safe at school to protect herself and students in light of recent gun crimes.