@name FailCake LAb Music
@persist E:entity [Tim Path L]:array K
@trigger all
@model models/props_lab/citizenradio.mdl

if(first() | duped()){
runOnTick(1)
runOnChat(1)
E = entity() 
K = 1
Path[Path:count() + 1,string]="ui/gamestartup12.mp3"
Tim[Tim:count() + 1,number]=154

Path[Path:count() + 1,string]="ui/gamestartup11.mp3"
Tim[Tim:count() + 1,number]=95

}

if(chatClk(owner())){
L = owner():lastSaid():explode(" ")    
  
if(L[1,string] == "-start"){  
hideChat(1)
E:soundPlay(1,0,Path[K,string])
timer("Kk",Tim[K,number]*1000)
}

}

if(clk("Kk")){

if(K < Path:count()){
K+=1
}elseif(K >= Path:count()){
K = 1
}   

E:soundPlay(1,0,Path[K,string])
timer("Kk",Tim[K,number]*1000)
}
