Flumpty is a demon egg who wants to catch you and trap you in the small room you find yourself in One Night At Flumpty's
Be careful not to let the demon into your room or run out of power, because if you do, he will easily get in and kill you, and the game will be over. Instead, you will win if you make it through the night until the sun comes up.
Have fun and good luck!