Go to code window and click on sprite 2 (football). Then add the codes shown in the second image.and click in color icon in the 'if touching color' block. select the color picking tool and click on the blue color as shown in the third image. Make two variables 'bluescore' and 'redscore'.we are also making a broadcast, we have done a broadcast earliear don't you rember it. Add all the codes shown in the second last image. duplicate the code and make the changes as shown in the last image. Make sure the color of our sprites and the color of your goal posts are not same. other wise this game will have some errors.