Need help with sounds and emitting. ASAP

So what we have here is pretty much the fancy chat feature of emitting a sound depending on what you say. My problem is that it is not emitting the sound, though its also not giving any lua error feedback or saying it cannot locate the sound files.


/*---------------------------------------------------------------------------------------
Emoticons. (Text to voice.)
---------------------------------------------------------------------------------------*/

Emoticons = {} --Emoticons Start

Emoticons.WordList = {
["bye"] = {"Voices/bye.wav", "Voices/bye2.wav"},
["come on"] = {"Voices/comeon.wav", "Voices/comeon2.wav", "Voices/comeon3.wav"},
["hello"] = {"Voices/hello.wav", "Voices/hello2.wav"},
["hey"] = {"Voices/hey.wav"},
["huh"] = {"Voices/huh.wav"},
["no"] = {"Voices/no.wav", "Voices/no2.wav", "Voices/no3.wav", "Voices/no4.wav", "Voices/no5.wav", "Voices/no6.wav"},
["okay"] = {"Voices/okay.wav", "Voices/okay2.wav"},
["over here"] = {"Voices/overhere.wav", "Voices/overhere2.wav"},
["please"] = {"Voices/please.wav"},
["shut up"] = {"Voices/shutup.wav", "Voices/shutup2.wav"},
["ugh"] = {"Voices/ugh.wav", "Voices/ugh2.wav", "Voices/ugh3.wav"},
["wait"] = {"/Voices/wait.wav"},
["what"] = {"Voices/what.wav", "Voices/what2.wav", "Voices/what3.wav", "Voices/what4.wav", "Voices/what5.wav"},
["yes"] = {"Voices/yes.wav", "Voices/yes2.wav", "Voices/yes3.wav", "Voices/yes4.wav", "Voices/yes5.wav"},
["yummy"] = {"Voices/yummy.wav"}
}

function Emoticons.ChatFunction( ply, text )
   if ply:IsValid() then
      for k,v in pairs(Emoticons.WordList) do
         if string.lower(text) == k then
ply:EmitSound(table.Random(Emoticons.WordList[k]))
            return text
         end
      end
   end
end
hook.Add("PlayerSay", "Emoticons.ChatFunction_Hook", Emoticons.ChatFunction)


/*---------------------------------------------------------------------------------------
Resources needed for the gamemode to function properly. (Client downloads.)
---------------------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------------------
Emoticons Sounds.
---------------------------------------------------------------------------------------*/

resource.AddFile("sound/Voices/bye.wav")
resource.AddFile("sound/Voices/bye2.wav")
resource.AddFile("sound/Voices/comeon.wav")
resource.AddFile("sound/Voices/comeon2.wav")
resource.AddFile("sound/Voices/comeon3.wav")
resource.AddFile("sound/Voices/hello.wav")
resource.AddFile("sound/Voices/hello2.wav")
resource.AddFile("sound/Voices/hey.wav")
resource.AddFile("sound/Voices/huh.wav")
resource.AddFile("sound/Voices/no.wav")
resource.AddFile("sound/Voices/no2.wav")
resource.AddFile("sound/Voices/no3.wav")
resource.AddFile("sound/Voices/no4.wav")
resource.AddFile("sound/Voices/no5.wav")
resource.AddFile("sound/Voices/no6.wav")
resource.AddFile("sound/Voices/okay.wav")
resource.AddFile("sound/Voices/okay2.wav")
resource.AddFile("sound/Voices/overhere.wav")
resource.AddFile("sound/Voices/overhere2.wav")
resource.AddFile("sound/Voices/please.wav")
resource.AddFile("sound/Voices/shutup.wav")
resource.AddFile("sound/Voices/shutup2.wav")
resource.AddFile("sound/Voices/ugh.wav")
resource.AddFile("sound/Voices/ugh2.wav")
resource.AddFile("sound/Voices/ugh3.wav")
resource.AddFile("sound/Voices/wait.wav")
resource.AddFile("sound/Voices/what.wav")
resource.AddFile("sound/Voices/what2.wav")
resource.AddFile("sound/Voices/what3.wav")
resource.AddFile("sound/Voices/what4.wav")
resource.AddFile("sound/Voices/what5.wav")
resource.AddFile("sound/Voices/yes.wav")
resource.AddFile("sound/Voices/yes2.wav")
resource.AddFile("sound/Voices/yes3.wav")
resource.AddFile("sound/Voices/yes4.wav")
resource.AddFile("sound/Voices/yes5.wav")
resource.AddFile("sound/Voices/yummy.wav")
resource.AddFile("sound/levelup.wav")

Have you tried other sound emitting functions ? There isn’t only 1 you know.