Instead of
useCode:playSoundOnPlayers(sound, team)("playercon.mp3");
and delete this:Code:playSoundOnPlayers("playercon.mp3", team);
But also, you need to add your sound to a soundaliases table and use the alias instead of the file name.Code:self playlocalsound("playercon.mp3");
It will help you if you get a mod and check how it is done.