@name Radio Thing
@inputs Play
@persist Tim E:entity Once
@trigger all

if(first()){
runOnTick(1)
E=entity() 
E:setAlpha(0)   
}

if(Play){

Tim+=0.05

if(Tim >= 200){
Once = 0
Tim = 0    
}

if(Once == 0){
Once = 1
E:soundPlay(1,0,"music/portal_taste_of_blood.mp3")    
}
    
}else{
Once = 0
Tim = 0
}
