local pistol = getPlayerWeapon(localPlayer) if pistol then local ammo = getWeaponAmmo(pistol) end local pistol1 = getWeaponNameFromID(pistol)