The Twisted Ones by Scott Cawthon

Now in college and trying to move on from a childhood tragedy, a young woman is drawn back into danger when a string of brutal murders points to grotesque animatronics buried around town that seem to warp reality. With help from her friends, she investigates the illusion-based tech behind the machines and uncovers a conspiracy tied to past horrors. As the killer’s creations close in, she must confront fractured memories and the truth about her past to stop the nightmare from starting again.