@name 
@inputs 
@outputs 
@persist 
@trigger 
O = owner()
if(first()){Limit = 0}
#models/weapons/c_models/c_bow/c_bow.mdl
runOnTick(1)

            if (owner():weapon():type()=="weapon_pistol"){
    owner():weapon():setColor(0,0,0,0)
    Head="anim_attachment_RH"
    
    for(I=1,1){
        holoCreate(I)
        holoAlpha(I,255)
        holoPos(I,owner():attachmentPos(Head))
        holoAng(I,owner():attachmentAng(Head))
        holoPos(I,holoEntity(I):toWorld(vec(0,0,-2+(-I*0))))
        holoAng(I,holoEntity(I):toWorld(ang(0,10,(-I*10)-0)))
        holoParentAttachment(I,owner(),Head)
        holoModel(I,"models/weapons/c_models/c_bow/c_bow.mdl")
        holoMaterial(I,"models/weapons/c_models/c_bow/c_bow.mdl")
        holoScale(I,vec(1,1,1))
        if(owner():keyAttack1()){
            if(Limit == 0){
            E = propSpawn("models/weapons/w_models/w_arrow.mdl",owner():pos() + vec(0,10,30),0)
            Limit = 1
            timer("limit",3000)
    }}
    }

}else{owner():weapon():setColor(0,0,0,255) holoAlpha(1,0)}
if(clk("limit")){Limit = 0}
