Don't know what I'm doing wrong.

I have asked for this question previously but have not been helped.
I need to create a script that when a round ends (whether traitor innocent or time out) to play a random song (out of three).
This is what I have so far.

resource.AddFile(“sound/rg/SmKsong.mp3”)
resource.AddFile(“sound/rg/louderandprouder.mp3”)
resource.AddFile(“sound/rg/superfun.mp3”)

local SoundCollections = {}

SoundCollections[WIN_INNOCENT] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

SoundCollections[WIN_TRAITOR] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

SoundCollections[WIN_TIMELIMIT] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

local function PlayMusic(wintype)
BroadcastLua(SoundCollections[wintype][math.random(#SoundCollections)])
end
hook.Add(“TTTEndRound”, “MyMusic”, PlayMusic)

I myself haven’t seen any errors in it but it will not work.
Help is appreciated.
Thanks.

Hum.

[lua]
resource.AddFile(“sound/rg/SmKsong.mp3”)
resource.AddFile(“sound/rg/louderandprouder.mp3”)
resource.AddFile(“sound/rg/superfun.mp3”)

local SoundCollections = {}

SoundCollections[WIN_INNOCENT] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

SoundCollections[WIN_TRAITOR] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

SoundCollections[WIN_TIMELIMIT] = {‘surface.PlaySound(“rg/SmKsong.mp3”)’,
'surface.PlaySound(“rg/superfun.mp3”) ',
‘surface.PlaySound(“rg/louderandprouder.mp3”)’}

local function PlayMusic(wintype)
BroadcastLua(SoundCollections[wintype][math.random(#SoundCollections)])
end
hook.Add(“TTTEndRound”, “MyMusic”, PlayMusic)
[/lua]

My first suggestion would be to create a table which they will play off of. Then, when you have the [Win_Traitor] or Innocent Win, then cause it to play a random variable off of the table.