This is a pretty commonly known secret. If you touch the flagpole of any level with either 1, 3, or 6 seconds left on the ones place of the timer, you will get that amount of fireworks. For example, if you touch the flagpole with 126 seconds left on the time, you will get six fireworks!