Adding to you score?

I tried a code that adds to your money, by pressing a button. But it didn’t work in Flash 8. Instead of adding to your score like 10, 20, 30, 40 etc., etc., it actually ADDS a 10! Like 10, 10, 10, 10, 10, 10, 10… I will post the code I used. But someone please tell me how I do this!