@persist A1 A2


interval(10)

A1 = owner():keyAttack1()
A2 = owner():keyAttack2()

if(first())
{
    holoCreate(1)
    holoModel(1,"models/weapons/v_knife_t.mdl")
    
    holoAnim(1,1)
}

if($A1 & A1)
{
    holoAnim(1,randint(4,5))
}


if($A2 & A2)
{
    holoAnim(1,3)
}

holoPos(1,owner():shootPos())
holoAng(1,owner():eye():toAngle())
