If an animatronic enters the office and the player is detected, they will be killed. Wearing an animatronic mask allows the player to avoid being detected in most cases, though some animatronics are repelled through other methods. The player has access to security cameras throughout the restaurant to monitor animatronic activity. Set in a fictional pizzeria, the player takes on the role of night security guard Jeremy Fitzgerald, who must defend themselves from the restaurant's hostile animatronic mascots while in their office. It is the second installment in the Five Nights at Freddy's series. Five Nights at Freddy's 2 ( FNaF 2) is a 2014 point-and-click survival horror game developed and published by Scott Cawthon.