@name Hovering Turret by Tobi

@outputs Fire

@model models/hunter/blocks/cube025x025x025.mdl

runOnTick(1)

runOnChat(1)

E = entity()



if(first())

{ E:setMass(1000)

}


if(owner():lastSaid() == "!on"){

E:setPos(owner():shootPos() + vec(0,0,35))

E:setAng(owner():eyeAngles())

}

if(owner():lastSaid() == "!off"){




}

if(owner():keyAttack2())

{ Fire = 1

}

else

{ Fire = 0

}
