@persist Timer Find:array Distance Result:string Times Damage HoloDist Circle X Y
E = entity()
Timer=Timer+1*1
T=Timer
runOnTick(10)
Me=owner()
Chip=entity()
Timer=Timer+1*1
T=Timer
Chip:setAlpha(0)
if(first()){
N = 1
holoCreate(1)
holoModel(1,"hqtorus")
holoColor(1,vec(240,227,20))
holoScale(1,vec(2,2,2))                                                                                                                                     setName("Croco's Sonic Ring")
holoParent(1,entity())
holoPos(1, entity():pos()+vec(0,0,25))}
holoAng(1,ang(T,T,90))
timer("check",100)
Distance = 30
if (clk("check")) {
    findInSphere(entity():pos(), Distance)
    Array = findToArray()
    findByClass("player")
    for(I=1,Array:count()) {
        if(Array[I,entity]:isPlayer()){  
holoDelete(1)
entity():soundPlay(1,1,"/synth/sine_1760.wav")
timer("END",100)}}}
if(clk("END")){
    gSetStr(1,"Score")
    if(gGetStr(1)=="Score"){gSetStr(1,"Score2")}
    if(gGetStr(1)=="Score2"){gSetStr(1,"Score3")}
    if(gGetStr(1)=="Score3"){gSetStr(1,"Score4")}
    if(gGetStr(1)=="Score4"){gSetStr(1,"Score5")}
    if(gGetStr(1)=="Score5"){gSetStr(1,"Score6")}
selfDestructAll()}



