@name Annoyer E2
@inputs 
@outputs C
@persist Playa:entity Pos:vector A B C
@trigger 
   
   runOnTick(1)
   
   Temp =findPlayerByName("INSERTANAMEHERE")
   if(Temp'isPlayer()) {
       Playa = Temp
   }
   
   
   
   if (first() | duped()) {
       holoCreate(1,Playa:pos()+vec(0,60,50),vec(-7,-7,-7))
       holoMaterial(0"models/debug/debugwite")
       holoModel(0,"hqicosphere2")
       holoAlpha(1,0)
   
   
   
   holoParAttach(1,Playa,"eye")
   holoPos(1,Playa:pos()+vec(0,0,50))
   
   if (first()) {
       entity():setAlpha(600)
   }
   
   holoColor(1,vec(randint(1,255),randint(1,255),randint(1,255)))
   
   if (first() | clk("Timer")) {
       holoEntity(1):soundPlay(0,0,"npc/stalker/gollalert7a.wav")
       timer("Timer",2122)
   }
   
