Sound not playing

So i have this gun script it plays a gun shot when the gun is fired i have 2 guns so far. 1 auto and one pistol but when i shoot the auto one the sound plays but when i shoot the pistol one it dosent play here is the code is the code where it plays the sound there are to different one for auto and one for semi

Auto:

{
if (reload.currentAmmo > 0 && !reload.reloading)
{
if (Time.time - lastTimeShot >= 1 / fireRate)
{
recoil.RecoilFire();
reload.currentAmmo--;
reload.ammoUsed += 1;
akShot.Stop();
akShot.Play();
muzzleFlash.Play();
RaycastHit hit;
if (Physics.Raycast(firePoint.transform.position, firePoint.transform.forward, out hit, distance))
{
if(hit.transform.tag == "Expose")
{
GameObject bloodGO = Instantiate(blood, hit.point, Quaternion.LookRotation(hit.normal));
Destroy(bloodGO, 5f);
}
else if(hit.transform.tag == "ExposeHead")
{
headshotSFX.Play();
//akShot.Stop();
headshotCrosshair.SetActive(true);
GameObject bloodGO = Instantiate(blood, hit.point, Quaternion.LookRotation(hit.normal));
Destroy(bloodGO, 5f);
StartCoroutine(awayWithCrosshair());
}
else
{
GameObject impactEffect = Instantiate(wallHitDecalPrefab, hit.point, Quaternion.LookRotation(-hit.normal)); Destroy(impactEffect, 5f);
Destroy(impactEffect, 5f);
}
}
lastTimeShot = Time.time;
}
}
}```

semi:

```void HandleShootingSemi()
{
if (reload.currentAmmo > 0 && !reload.reloading)
{
if (Time.time - lastTimeShot >= 1 / fireRate)
{
reload.currentAmmo--;
reload.ammoUsed += 1;
akShot.Stop();
akShot.Play();
muzzleFlash.Play();
recoil.RecoilFire();
RaycastHit hit;
if (Physics.Raycast(firePoint.transform.position, firePoint.transform.forward, out hit, distance))
{
if (hit.transform.tag == "Expose")
{
GameObject bloodGO = Instantiate(blood, hit.point, Quaternion.LookRotation(hit.normal));
Destroy(bloodGO, 5f);
}
else if (hit.transform.tag == "ExposeHead")
{
headshotSFX.Play();
//akShot.Stop();
headshotCrosshair.SetActive(true);
GameObject bloodGO = Instantiate(blood, hit.point, Quaternion.LookRotation(hit.normal));
Destroy(bloodGO, 5f);
StartCoroutine(awayWithCrosshair());
}
else
{
GameObject impactEffect = Instantiate(wallHitDecalPrefab, hit.point, Quaternion.LookRotation(-hit.normal)); Destroy(impactEffect, 5f);
Destroy(impactEffect, 5f);
}
}
lastTimeShot = Time.time;
}
}
}```

Use code tags if you code post. This is unreadable

oh okay