Given the question: Build a movie plot around this: What happens to Megan at the end of the story? She commits suicide with a nail gun.
The answer is:
A SWAT team barges into a school library to find a student holding an axe and surrounded by savaged bodies, before the film goes back eight hours previously. Six unruly prep school students are forced to serve Saturday detention for eight hours at Crestview Academy, where psychologist Dr. Day (Jeffrey Schmidt) conducts psychological testing on the students to examine their personalities and trigger their demeanors, recording each session in the process. Despite receiving an expulsion notice from Headmaster Nash (Judd Nelson), a new low-income student Matt Clark (Cameron Deane Stewart) plans to compensate for his poor behavior by joining the awkward Tarek Ahmed (Marc Donato), the jock Craig Cook (Roger Edwards), the sly Goth girl Veronica Harmon (Augie Duke), the prissy and asthmatic Megan McDurst (Amanda Alch), and the popular girl Tricia Wilkes (Ali Faulkner) in detention.After giving them the task to complete a school history assignment, Dr. Day restricts their internet reach and takes away many of their phones, leaving the students imprisoned alone in the library, remodeled by the janitor, Max (Ben Browder), with Native American portraits and an Apache statue. The students believe the library is haunted. They realize they have mutually dysfunctional family lives, though they have their differences with each other, sparked from prior encounters which have been recorded on camera. They all try to break out of the library, but they are sealed in. Behaving mischievous, Veronica hides Megan's inhaler and frames Tarek, leading to Megan having a shortness of breath and dying before it's found.Getting the intranet (no Internet is available) to work, Veronica does her research. They discover an old, deceased Indian, Jacob Rainwater, once owned land that was stolen from the Apache tribe in the 1870s by General Andrew Winston Clarke, before it was taken over by the city of Crestview to build the school. As the students argue on-and-off, they discover a vent that allows them to navigate to different rooms that...