Text: Set text to "variable-name"
remeber if for example your sprite is named "Gun" and instance variable is called "ammo"
it will look like this Gun.ammo
Text: Set text to Gun.ammo
You can put in the action when you press button/mouse to fire - so it will only update text object with new value every time you fire.