How can I ensure a trigger volume only plays a sound once?

Hello, Heidy. Could you please tell me how to create the custom event “ResetMyThing”, please? I’m new to programming and that’s the thing I need in order to make my code work. Hope you can help me. Thanks in advance