This is a mechanism to have a blue score counter. It's really simple. Basically, you take a sprite with nothing drawn on it, and make the X position show. Right click it and select "Large Readout". Then you want to set the X to 0 (or another number, whatever you want). This will be your starting number (where the counter will begin when the flag is clicked). After that, you make a variable. Name it whatever you want; points, score, lives, it doesn't matter. After that, just copy the coding inside the project. Unfortunately, the maximum score it can show is 240, since the X of the screen only extends that far.
Click the flag! (or it won't work)