This is how I would do it:
create an interface with a transparent background, at least as big as the text you want to display, place it in the corner of the screen.
On this interface create a button. (no image needed)
For this button you can now display an object text (action part, found under "miscellaneous").
In this text you can display the integer of your gold value.
Exapmple: "Gold: <v=name_of_value>"
This object text stays the same, even when you update the value. To update the text you need to execute the action part (display object text) again each time you change the gold value.