At first, my money system was working fine. In my drag racing game, every race, if the player wins add 250 to the money, and add 85 if they lose. Then i added the Webstorage and now the money will only go up after one race. If I try it again, the money won't go up any more.
On start of layout:
WebStorage.LocalValue("TotalMoney") > 0: Set Money to WebStorage.LocalValue("TotalMoney")
Every tick: GoldText: Set text to "" & Money
Money not equal to WebStorage.LocalValue("TotalMoney"): WebStorage: Set Local Key "TotalMoney" to Money