1. Hi, I'm new to LUA and AddOn creation, and I'm sure that there is a very simple way to do this, but I don't know it.

    My question:

    How would I make it so a sound would be played every time another party or raid member dies?

    Thanks in advance.

    You would need to create a frame, register for the event that signifies player or guild member dying, and then use the PlaySoundFile function to play the sound you've included in your addon.