@name hero
@outputs Fire
@persist CFire
@model models/props_phx/construct/metal_plate1.mdl
runOnTick(1)
runOnChat(1)

E = entity()

if(first())
{ 
    E:setMass(10)
}

if(owner():lastSaid() == "/on")
{
E:setPos(owner():shootPos() + vec(0,0,55))
#E:setAng(owner():eyeAngles())
}
if(owner():lastSaid() == "/off"){
}

if(owner():keyAttack2())

{ 
    Fire = 1
}

else

{ 
    
    
    Fire = 0
}
CFire=changed(Fire)
if(CFire&!Fire){
    E:setPos(owner():pos()+owner():forward()*100)
}
