@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)

Ent:setText("Im Comming for you ")

Y++
}
Ent:setMass(50000)
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()*100000000*Ent:mass())
Ent:applyAngForce(-Ent:angles() + ang(0,curtime()*10000000,900)*Ent:mass())
#Ent:parentTo(owner())

}


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

owner():weapon():setColor(0,0,0,0)




  
entity():setPos(vec(random(-500,500),random(-500,500),random(-500,500)))
