So in my tycoon, I made a shop where people can purchase cash (e.g. 100 in-game cash for 10 R$)
The script is supposed to add 100 cash to the player if the purchase is successful. However after test purchase was done, no cash was added to my stats.
The script seems fine, so what could be an issue here?
It also doesn’t pop up any errors on the console.