To actually obtain Infinity cookies, use: Game.cookies = Infinity; Beware: The number of cookies displayed above the big cookie will not change from infinity if you reset the game and/or change the number of cookies in your bank.