How do you make Pawn Sensing play a sound without constantly playing it?

So I’m trying to make my demonic Dora AI enemy say something when she spots me, but when she spots me it plays the sound every fraction of a second so it just plays it over and over until she loses sight of me and the sounds start to slowly die down. What am I doing wrong!

Put a DoOnce node before you play the sound. When your AI loses sight, reset the DoOnce.

Oh ■■■■. I posted this same topic twice thinking it didn’t get posted cause I couldn’t find it. How did you find my topic? I was so confused. And btw, THANK YOU! I’m gonna go test it out now.