Ok so I have this code to shoot my gun if you have ammo, but you dont lose ammo when you shoot.
FOOTAGE : https://gyazo.com/e51752ccce2fda974807d36bd2671aaf
However, when I make the gun lose ammo when you shoot, this happens:
FOOTAGE: https://gyazo.com/aeca9c7c42d75027f9ba22b9b5b88a10
All the ammo is lost in 1 click, even though i made it -1.

Any help?

(EDIT: It removes all ammo, not just 10, if i get more. It also emits all the bullets at once.)

@“JR 01” thank you so much

@martinisyes, try this:

Could you leave a link to the game