CORAL SPRINGS, Fla. – A former Coral Springs High School student was arrested Monday after police were called to the campus in reference to someone in possession of a weapon, authorities said.

A current student was taken into custody for an involuntary mental evaluation under the Florida's Baker Act law after he was found with a seven-page manifesto detailing a plan for a school shooting.

Sky 10 was above the school at 7201 W. Sample Road about 12:45 p.m. and saw two people being placed into police cruisers.

Coral Springs police spokeswoman Carla Kmiotek said in a statement that a 17-year-old boy was seen lifting his shirt and displaying a gun to several male students during the school day.

The teen was later identified as Ryan Trollinger.

One of those male students told two female students about what he saw.

The female students then told Officer Jeff Heinrich, a school resource officer at the school, about the weapon, police said.

Heinrich was able to locate the teen.

"He immediately detained him and (the teen) tried pulling away. The officer cuffed and searched him and recovered a loaded 9mm from his front waist band," Kmiotek said.

The school was placed on lockdown while officers searched for the teen's "associate."

The associate told officers that Trollinger told him on Monday that, "Today is the day it's going down."

Police found a seven-page manifesto in the associate's pocket which detailed the shooting.

"I want to be the worst school shooter in America if I do the attack. I am still not 100 percent sure I want to do this, but I want to be the worst school shooter in America. Worst (sic) than Columbine, Virginia Tech and Sandy Hook," the teen allegedly wrote.

(WARNING: Explicit language used in manifesto)

Police have released the handwritten manifesto in which the teen describes his plan to shoot and kill people at his school on Jan. 13, 2017 and calls the day "terror day." The first entry was written in December 2015.

"If you don't know what terror day is, it is a mass school shooting that will take place on January 13, 2017," the teen wrote. "I hope my f------ parents don't find this until it's time. I don't give a f---- if they find (it) after the f------ attack."

He drew pictures of someone with a gun shooting another person and wrote the words "kill them all" and "guns rule."

The teen wrote extensively about wanting a girlfriend, wanting love and having a crush on an "Asian girl" in school.

"Some stuff I don't get about life is how hard it f------ is to get an Asian girl," he wrote. "I know I might sound weird but I want to find love with an Asian girl. Love might cure me from my evil thoughts and my rage. I just want love and I can't f----- get it. I like this one Asian girl in school but she has a f----- boyfriend. This is why my life sucks so f----- much."

He wrote that "terror day" might not happen if he finds love first and that his crush "probably thinks I am just a weirdo who likes her, but I am more than that. I am a really loving person."

The teen also confesses that he wasn't doing well in school and that he was bullied.

"My behavior is violent when people f--- around with me. I am not a f---- nerdy wimp anymore. I know how to stand up for my f----- self now. There is this f----- kid in my fourth period class who keeps f------ with my hat and that is the type of s--- that makes me think more and more about terror day," he wrote.

Trollinger faces charges of possession of a firearm on school property, possession of a firearm by a minor, trespassing and disruption of a school function.

The associate didn't have any pending charges against him on Monday.

The school was placed on lockdown during the incident. One student described the lockdown as "hectic."

"It was pretty hectic," one student said. "They were pulling us into the closest classrooms they could, turned off the lights, hide under the desks and everything. I was actually next to my administrators, so they kept me safe and everything, but it was pretty scary."

The lockdown was lifted just after 2 p.m.

"I just ran to the school to see what's going on because they didn't answer the phone, nothing," one parent, Christina Favali, said. "No emails, nothing. I just got a message like five minutes ago when I was already inside the school waiting for her."

Trollinger is expected to appear in court Tuesday afternoon.