Text in game

Plz help can somebody explain me how to do a textuer with changing numbers? i mean i want to have 30 ammo in my gun and when i shoot it comes 30, 29, 28, 27… and when it ends it restart plz help

Here’s a tutorial on that