Awesome, it works now!

I just changed the music waittill("trigger"); to music waittill("trigger", player); and changed player = getent("player","classname"); to player getEntArray("player", "classname");

Thank you randall!