The Bad Ending happens if the player doesn't get the key from Pirate Caverns. Without the key, the player cannot escape from Photo-Negative Mickey, who is about to kill him with the Discovery Island sign from the far side of the Office. The player cannot play Night 6 when this happens as Jake Smith is already dead.
The Good Ending happens if the player gets the key from Pirate Caverns. With the key, the player escapes from being killed by Photo-Negative Mickey. This allows Night 6 to be played. The tape can also be obtained for an alternate version of the ending where the incident is partially revealed and Jake discovers that Photo-Negative Mickey didn't kill his parents.
The True Ending is a hidden ending in the game, and the ending changed significantly from the beta. It was once thought that this ending was obtained in a similar way to the good ending, but that has since been debunked. To get this ending, the player must first befriend The Face, meet Henry in Pirate Caverns and befriend the other suits.
How to befriend Suits: