My plan to survive FNAF 4:
Lock the doors so I won't be bothered by N.Bonnie and N.Chica. N.Foxy doesn't spawn in the closet, he sneaks into it through the hall when you're not looking, so he's not a problem either. Plant mines on the halls if things get serious (N.Fredbear and Nightmare). Shine the flashlight on the bed at all times so no Freddles and no N.Freddy. Then the gun will be on stand by just in case.