@name Cenn's Pet Zimbambo
@inputs 
@outputs 
@persist G:entity
@trigger 
runOnTick(1)
if(first()){
    
                    holoCreate(1)
timer("loop",1000)
}

#holoPos(1, owner():pos() + vec(100, -100, 0):rotate(owner():angles()))
#holoAng(1, owner():angles())
holoPos(1,owner():aimPos())


if(changed(owner():keyReload())){
    if(owner():aimEntity():isNPC()){
        G = owner():aimEntity()
        G:npcRelationship(owner(), "like", 999)

       # 
}}

if(clk("loop")){
       G:npcGoRun(holoEntity(1):pos())
    timer("loop",1000)
}


if(changed(owner():keyUse())){
    if(owner():aimEntity():isNPC()){
        G:npcSetTarget(findPlayerByName(owner():aimEntity():name()))
G:npcAttack()

}
}
