@name GRENADE
@inputs 
@outputs 
@persist 
@trigger 
runOnTick(1)

if (changed(owner():keyWalk()) & owner():keyWalk()) {
    Prop = propSpawn("models/weapons/w_eq_fraggrenade_thrown.mdl",0)
    Prop:setPos(owner():pos()+vec(0,0,85))
    Prop:applyForce(owner():aimPos())
}

