If you want to display text of how much ammo is available do this
Ad global variable "Ammo"
Everytick set text to "Ammo:"&ammo
Subtract 1 from ammo
Ammo is less than < 1 add 10 to ammo
That's how I do it maby someone knows easier way I'm I started programming 3 months ago