In your code, when you try to open the door you would first check if alreadyOpened == false. If it is false you’d play the sound and set alreadyOpened to true. If it was already true you would not play the sound. I’d edit your script to show you, but you decided to post it as an image instead of as code.