It's not a glitch. I was programming the UI but It doesn't work such as the ammo and the health. I hope I can add the baboons or environmental hazards damages the player and shooting the weapon while ammo depleting. Thank you for your feedback.