@inputs 
@outputs 
@persist X Y Ent:entity Ents:array Limit

@persist Head:string 

interval(200)
if (first()) {Y = 1 Limit = 1009}



if (owner():keyAttack1()) {
if (Y <= Limit) {
Ent = propSpawn("models/props_c17/oildrum001_explosive.mdl",1)



Y++
}
Ent:setMass(500)
Ents[Y,entity] = Ent
Ent:setPos(owner():pos() + vec(0,25,75) + entity():forward()*24)
Ent:setAng(ang(90,0,80) + owner():angles())
Ent:propFreeze(0)
Ent:applyForce(owner():eyeAngles():forward()*3000*Ent:mass())
Ent:applyAngForce(-Ent:angles() + ang(0,curtime()*3000,900)*Ent:mass())
owner():soundPlay(1000,1000,"/vo/demoman_painsevere03.wav")
Ent:setTrails(5000,5000,5000, "effects/bonk",vec(50,50,50),255,255,255)
Ent:setColor(255,255,255,0)
}


if (owner():keyAttack2()) {
Ents:propDelete()
Y = 1
}


#/vo/demoman_painsevere03.wav



