@name FailCake OverPowered Gun
@outputs [E O]:entity On
@trigger all

if(first()){
runOnTick(1)

#beams/beamstart5.wav

E = entity()
O = owner()

holoCreate(1)
holoModel(1,"models/weapons/w_combine_sniper.mdl")
holoPos(1,O:attachmentPos("anim_attachment_RH"))
holoAng(1,O:attachmentAng("anim_attachment_RH"))
holoParentAttachment(1,O,"anim_attachment_RH")
holoPos(1,holoEntity(1):toWorld(vec(20,0,2)))
holoAng(1,holoEntity(1):toWorld(ang(180,0,180)))
holoAlpha(1,0)

}

if(O:weapon():type() == "laserpointer"){
holoAlpha(1,255) 
O:weapon():setAlpha(0)
On = 1
}else{
holoAlpha(1,0)
On = 0
}

if(On){

}  
