How do I make a money unlock items?

Hi, I am making an app and when the score reaches 50 I neede the money to go to 1. I can't seem to make it work. Right now I have,
Rule atrribute game.money=50 change attribute to money to money+1. Then I have a display text, game.money. It goes up to 1 then the score keeps going but the money stops going higher.
Any help would be appreicated.
Thanks,
Aaron
Rule atrribute game.money=50 change attribute to money to money+1. Then I have a display text, game.money. It goes up to 1 then the score keeps going but the money stops going higher.
Any help would be appreicated.
Thanks,
Aaron
Comments
this might work if the score don't change much.
1) I need the score to keep going I can't have it readying every 50.
2)I want it to be so when you get a certain amount of money you unlock new things to buy.