I get the value Local Storage "Total_coins" and i put them into the 'Get_Total_Coins' Variable. I Add 'Get_Total_Coins' Variable value to 'Coins' Variable (toal coins get a the end of game). Finally i put 'Get_Total_Coins' variable value in the Local Storage "Total_coins". When i insert this variable the value enter into loop (add 'Get_Total_Coins' + 'Coins' infinity)

Example

Global number Coins = 100

Global number Get_Total_Coins = 0

LocalStorage --> Check Item "Total_Coins" Exist

LocalStorage --> On Item "Total_Coins" Exists

LocalStorage --> Get Item "Total_Coins"

LocalStorage --> Set Get_Total_Coins to LocalStorage.ItemValue

Set Get_Total_Coins to Get_Total_Coins + Coins

LocalStorage --> Set Item "Total_Coins" to Get_Total_Coins