Sound not working with onTriggerEnter

I’m trying to have an audio file play when it’s destroyed but its not working.

Here is my code.

I have the audioclip set up here.

	public AudioClip deathSound; 

And here is the code that has the audio file in.

switch(other.tag)
		{
		case "EnemyProjectile":

			
			audio.PlayOneShot(deathSound);
			Instantiate(Explosion, transform.position, Quaternion.identity);
			Destroy(other.gameObject);
			GameManager.PlayerDies();
			Destroy(gameObject);
			break;

@tkbn is leading you to the right path.

You can fix this simply changing which object will play:

AudioSource.PlayClipAtPoint(deathSound, transform.position);

The good point of that method, it is static, so it does not depend on an object. What it does is create a new object that plays the sound and dies when the sound is over.