Player scale linked to 1 ammo/6 until reloaded

I have a player in a 2.5 side-scroller who can shoot a total of 6 projectiles at a mouse press and at each mouse press needs to shrink 0.1 from the original scale of 1,1,1. I’m confused on how to reference the current ammo amount to the players scale to shrink once per fire, stop at 0, and make it reset after pressing the reload button. Once reloading the character continues to shrink

until the mesh flips upside down. attached is what I have currently