Foxy hides behind his curtain in Pirate Cove throughout the game. Over the course of the night, the player must use the Monitor periodically. They must also monitor Pirate Cove (CAM 1C) in a balance between "too much" and "too little" to prevent Foxy from emerging from his curtain and sprinting toward The Office.
This balance may be difficult to find, but it is essential for preventing Foxy from ending the night early. Foxy's attacks seem to be based on a timer, rather than being random. If Foxy's AI is set to 20 on Night 7 and Pirate Cove is never checked, he will always bang on the door at either 32 or 38 second intervals (tested on V1.1).
This is because sometimes, when he retreats, he will immediately return to Phase 2 instead of going back behind the curtains. He is also much more active on the mobile version to compensate for shorter nights. He will sometimes run back when his A.I. levels are quite high.
Phases:
Initially, Foxy is completely hidden behind the curtain.
The curtain is parted slightly, allowing the player to view Foxy's face, upper half, and part of his bare legs.
Foxy has left from behind the curtain, and is now in front of the camera, shrouded in darkness, with the only indication of his presence being his glowing eyes and outline. His head is also tilted sharply to the left.
Foxy will precede his attack by leaving the curtains wide open. Sometimes, the sign reading "Sorry! Out of Order" will change to display the phrase "IT'S ME", a message commonly associated with Hallucinations. Foxy himself is nowhere to be seen within Pirate Cove. At this point, if the Monitor is lowered immediately and the left door is closed, the player can then view CAM 2A to safely trigger Foxy's sprinting animation.
Foxy has now left Pirate Cove, and has begun to rush to the player's location. When viewing the West Hall (on CAM 2A), the player will briefly see Foxy sprinting towards the security room. At this point, the player either must have already closed the door, or must close it immediately, though they are very unlikely to succeed after having spotted his sprint.
If the player's attempt to block off the left doorway has succeeded, Foxy will bang on the door a few times, and then his position will reset back to behind the drapes in Pirate Cove (he can, however, reset straight to Phase 2 on the more difficult nights or settings). When Foxy bangs on the door, the player will lose a small portion of their power, the first time draining 1 percent of power, the second time draining 6 percent, third being 11 percent. If the player's attempt to close the left door has failed, Foxy will quickly lean into The Office and screech. The screen will then go to static, and will result in a Game Over.