@name draven_e2
@persist 
@trigger all

if(first() || duped()){
runOnTick(1)

holoCreate(1)
holoModel(1,"pyramid")
holoPos(1,entity():toWorld(vec(0,0,10)))
holoScaleUnits(1,vec(2,2,2))
holoParent(1,entity())
 
holoEntity(1):setTrails(4,4,4,"trail/lazer",vec(255,0,0),255)
   
}

holoPos(1,entity():toWorld(vec(cos(curtime()*10)*10,sin(curtime()*10)*10,5)))
