This takes place before the events of the first book, meaning someone different. The animatronics were just made and used to replace fredbear and springbonnie. See how the events turn out.
After William Afton was mangled to death by his very own creation, his spirit found new life within the springlock suit. He is relocated and is placed in a facility filled with twisted ripoffs of his work.