@persist E:entity
@persist I Pitch On
interval(10)
if(first())
{
    setName("EGP")
    entity():setColor(0,0,0,0)
    entity():propNotSolid(1)
    E = findPlayerByName("herobrine")
    timer("sound",100)
    
    timer("on",20000)
}

if(clk("on"))
{
    On = 1
    print("ON")
}

if(On)
{
    while(holoCanCreate()&perf())
    {
        I++
        holoCreate(I)
        holoModel(I,"hq_sphere")
        holoMaterial(I,"models/props_combine/stasisshield_sheet")
        holoScale(I,vec(-5))
        holoPos(I,E:attachmentPos("eyes"))
        #holoPos(I,E:pos()+vec(0,0,100))
        holoParentAttachment(I,E,"eyes")
        holoAng(I,ang(I/4,I/2,0))
        holoVisible(I,players(),0)
        holoVisible(I,E,1)
        #holoAlpha(I,0)
        
    }
    Pitch++
    
    for(S = 1,10){
        holoEntity(S):soundPlay(1,0,"synth/saw_inverted_1760.wav")
        soundPitch(S,abs((sin(Pitch*10))*20)+100)
    }
}
