This is the mechanic for doors and lights. You can use it for fnaf fangames if you're new to coding it. You can also add your own light and door sounds to add extra realness to your door and light stuff. Just backpack the models here for your fnaf fangame ;)
C2ALL