You'll need a small script (or something equivalent like a PlayMaker FSM). There are several ways to do this. This is just one. We'll add a Lua function called "AddMoney". Replace your Script with this:
I still have a problem. I have Button that shows status. The statuses are Money, IQ, and Reputation. On the scene where I created the button for status works fine. But when I load next scene, the button cannot be click. By the way, I put the canvas,button and the stats inside the dialogue manager.
Make sure your new scene has an EventSystem. One solution is to make the EventSystem a child of the Dialogue Manager. This way it will stick around when you change scenes.
Unity UI requires an EventSystem for interaction (button clicks, scrolling, etc.). Even if your scene doesn't use the Dialogue System, if it has an interactable UI element, make sure it has an EventSystem.