What fnafs story line

The Five Nights at Freddy's (FNAF) storyline follows the events of a fictional pizza restaurant called Freddy Fazbear's Pizza. The story begins with the discovery of a series of missing children incidents at the restaurant, which leads to its closure. The animatronic characters of the restaurant, including Freddy Fazbear, Bonnie, Chica, and Foxy, are speculated to be involved in the kidnappings.

In the first game, players take on the role of a night security guard at the restaurant. They are tasked with surviving five nights while fending off the animatronics, who seem to roam freely at night and are hostile towards humans. The game's protagonist receives phone calls from a former employee who provides guidance and hints about the animatronics' behavior.

As the series progresses, players learn about the restaurant's dark history and the spirits of children possessing the animatronics. It is revealed that the restaurant's owner, William Afton, known as the Purple Guy, is responsible for the killings. He used the animatronics to lure and murder children, creating a series of haunting events within the restaurant.

In subsequent games, players explore sister locations and metaverses as they uncover more about the restaurant's macabre secrets. Themes of resurrection, possession, and vengeance emerge as the spirits of the murdered children seek retribution against Afton and attempt to escape their animatronic forms.

The series includes various spin-off games, books, and expanded lore, further delving into the characters' backstories, alternative timelines, and alternate universes. The overall narrative focuses on the battle between the forces of good and evil, with the animatronics and their spirits playing a central role.