I found a solution, but would still like advice if anyone has other methods. Especially as I've heard using IIDs and UIDs is a bad move. I set the sprite's instance variable to be "Self.IID" every tick. Then, when it creates a sound at its own position, I set the tag of the sound to "'Soundname' & object.instance". Then, when the object gets deleted, I delete the sound with that tag. So far so good. I am a little worried it will break as the player places/destroys the objeects making sounds.
https://imgur.com/80Nr9yQ