https://gyazo.com/7b0745b93fc93c78a1f4cd9041ee8bff
https://gyazo.com/7816d616153e25658cf51715977bbbcc
Whats Wrong? When i reload, clip anim plays, but it wont add ammo
if Module.LimitedAmmoEnabled then if Module.ShotgunEnabled == false then local Magazine = 1 if Ammo > 0 then Ammo = Ammo - Magazine Mag = Module.AmmoPerMag elseif Module.ShotgunEnabled == true then local ammoToUse = math.min(Module.AmmoPerMag - Mag, Ammo) print(ammoToUse) Mag = Mag + ammoToUse Ammo = Ammo - ammoToUse end end else Mag = Module.AmmoPerMag end
It does not print anything, why?