How do I make the animatronics ai

I want to know how do I make animatronic levels from 0 to 20. You know in five nights at fraddy’s
IMG_0047