Florida school shooting
People are brought out of the Marjory Stoneman Douglas High School after a shooting at the school reportedly killed and injured multiple people in Parkland, Florida, Feb. 14, 2018. Getty Images

A South Carolina high school student was arrested Thursday after he posted a social media message on Snapchat threatening a repeat of Wednesday's school shooting in Florida.

According to a FOX Carolina report, a school district spokesperson said a Broome High School ninth-grade student was arrested by the Spartanburg County Sheriff’s Office immediately after the warning was made on the photo sharing app. An investigation has been launched into the incident.

The photo posted on Snapchat showed the student in question posing in front of a mirror holding what appeared to be an assault rifle and a partial mask, with the caption reading, "Round 2 of Florida tomorrow." The student is currently at a Greenville Department of Justice facility.

Spartanburg School District Three spokesperson Sherri Horton told officials that they had received a tip from a student about a threat to the "safety of the students and staff of Broome High School."

A parent had reported to the police regarding the threat after their child saw the Snapchat photo and alerted them. The child and the parent both were able to identify the student in the photo and alerted authorities, who then went to the suspect's house.

The suspect, whose name has not been released due to his age, reportedly told the authorities that the post was a joke. Police raided the house and located the mask and weapon the teenager used in the post. The weapon was found to be a pellet gun, and deputies stated the suspect did not have access to any actual firearms.

Nikolas Cruz, 19, a former student at Marjory Stoneman Douglas High School in Parkland, Florida, where he allegedly killed 17 people, is seen on a closed circuit television screen during a bond hearing in front of Broward Judge Kim Mollica at the Broward County Courthouse in Fort Lauderdale, Florida, Feb. 15, 2018. Getty Images

"After informing the suspect and his parents of the law violation, the suspect stated his Snapchat post was just intended as a joke, and that he didn’t have any serious intentions," Lt. Kevin Bobo of the department said.

The student was charged with disrupting regular functions at his school.

"The safety of our students and staff is of paramount importance," Horton said in a statement from the school district. "In order to ensure the safety of every student, the District Three Administration and Board of Trustees were providing additional security at the school.

The young man, who was charged with killing 17 people at his former Florida high school on Wednesday, upset some of his classmates by speaking about his guns and sharing pictures of small animals he claimed to have shot.

He had a "very disturbing" social media presence and had been expelled from school, officials said, providing new details on the life of accused shooter, Nikolas Cruz.

Cruz, 19, was charged with 17 counts of premeditated murder in the attack Wednesday at Marjory Stoneman Douglas High School in Parkland, Florida, from which he was expelled last year for disciplinary reasons, officials added. The attack unfolded sometime before classes were dismissed for the day.

A motive behind the mass shooting still remains unclear. Cruz's court-appointed defense lawyer, Broward County Assistant Public Defender Melisa McNeill, called him "a broken human being" and said the teen was "mournful, remorseful" and "fully aware of what is going on."