Credit to @Undergwiff for the script. This game no longer works, I might fix it, but I don't know. This game is being scrapped and I am going to make a new custom One Night at Duke's Game. This game will stay on my profile and will be playable, but this is no longer the first game of One Night At Dukes series and will no longer receive updates. The new game will feature mechanics and gimmicks that are custom to this game and not stolen from the original FNAF.
Update Log: V 1.0: Game Launch -Animatronic on left door -Added cam buttons -Fixed the bug where the close monitor button was below the monitor V 1.1: Moral Support -Added phone guy call -Redesigned the office -Made the game stop on death -Added mute call button V 1.2: Better Animatronics -Changed Duke's Design to make him look more like a dog -Re-voiced Phone Call V 1.3: Power Off -Added jumpscares -Added better power off mechanisms -Replaced phone guy with UnderGwiffs voice (Credit to @UnderGwiff for writing and recording the scripts.) V 1.4: Secret 1 -Added Secret 1 (Hint: Call out for help) V 1.5.1: Revamp Part 1 -Small art update on phone, more coming in V 1.5.2 V 1.5.2: Revamp Part 2 -Office revamp -New door sprites -Changed door button mechanics -Changed mute call button -Added alarm clock -Changed camera mechanics -Changed map layout V 1.5.3: Secret 2 -Added Secret 2 (Hint: Death is needed) V 1.6: Final Update -Added Generator to show power -Scrapped game V 1.6.1: 1984 -Revamped animatronic movement -Fixed phone call bugs