So how would I do this if I ONLY want to play sounds to the client and not touch the spawn/death functions? Like, reduced so pseudo-code:
onPlayerSpawn {
if client.inMinigame {
client.playSound(Datablock)
};
};
onPlayerDeath {
if client.inMinigame {
client.playRandomSound(Datablock2, Datablock3, Datablock4)
};
};
onPlayerKill {
if client(killer).inMinigame {
client(killer).playRandomSound(Datablock5, Datablock6, Datablock7)
};
};