The student initially posted the threat on TikTok before deleting it and issuing an apology. However, the post had already been copied and shared by others.