On Wednesday, a gunman opened fire at a South Florida high school killing a confirmed 17 people and injuring over a dozen others. Students trapped inside the school during the attack sent panicked and heartbreaking text messages to loved ones, asking for help and telling their parents and siblings how much they love and appreciate them.

“If I don’t make it I love you and appreciate everything you did for me,” wrote Marjory Stoneman Douglas High School student Sarah Crescitelli to her parents.

“Don’t talk that way,” one parent wrote back. “The cops are all over.”

Crescitelli reportedly hid in a school bathroom for two hours.

A 14-year-old male student texted his parents of the danger, too.

“Ok. Is it all over? Mom wants to come get you now/ Is that even possible?” the boy's father asked.

“It’s not over we are on lockdown. No it’s not possible. You could get hurt," answered the 14-year-old.

“Ok. Stay safe buddy. Love you,” the father replied, adding that the boy should "Stay hidden or play dead."

Thankfully, the unharmed student was later reunited with his father.

Screenshots of text messages between a student named Hannah with her sister Kaitlin were revealed via Barstool Sports.

"Kaitlin there is a shooter on campus," wrote Hannah. "[I] am not joking ... call 911 please."

"Hannah what," replied the sister. "[A]re you serious [right now]."

"Kaitlin [I] am not joking they just shot through the walls someone in my class is injured," replied Hannah. She then told her sister to inform their parents because she did not have service to make the call.

"[I] love you so much," wrote Kaitlin.

Hannah told her sister that she was "so scared" and that she loves her.

"Tell them [I] love them so much," wrote Hannah, speaking of her parents.

"I know Hannah," Kaitlin reassured her sister, "you're gonna be fine."

Hannah again replied that she was "so scared."

"Daddy is on his way to the school," wrote Kaitlin.

"Tell them [I] love them so much," replied Hannah.

Hannah revealed to Kaitlin that the classmate who was "hit" by a bullet was female, but said she was unsure if she was okay.

"The police are in the building," wrote Hannah, before sending one last message: "im [sic] so scared."

Another student alerted his father of the attack via text message. The father read the text messages aloud during an interview with WSB-TV.

“We’re in a real code red dad, get me ASAP it’s not a drill,” the student wrote to his father. “I hear gunshots. We just got a code-red notification so get me ASAP. There are gunshots in our school. Hell, someone died. Come now.”

The alleged killer has been identified as 19-year-old Nikolas Cruz, a former student of the school with a troubled past.