How do I only start the audio when player is at max distance

Hello guys! I have a problem with my game. I figured out how to play the audio on max distance but I don’t know how to start it when the player enters the max distance area. Can anyone help me? Or give me a sample command for it?

Oh, and what’s with my suggested tags being “i have not slept in days” and “gui-problem”, not related at all.

You attach a sphere collider on your AudioSource and a script with OnTriggerEnter. Then when the player enter the trigger you can use Play to play the sound.