How do I make it when player is in certain range of AI, play a sound

Thank you so much it works perfectly!