@persist E:entity  B:entity Timer
@name Killing bouncy ball thingy 
@model models/Combine_Helicopter/helicopter_bomb01.mdl
Chip=entity()
Timer=Timer+3*3
T=Timer
if(first()){
    E=entity()
    E:setSkin(2)
    E:setMass(5000)
    Enabled=1
    entity():setAlpha(0)
    Played=0
    runOnTick(1)
}
if(tickClk()){
    E:applyAngForce(ang(randvec(0,360))*100999)
}
holoColor(1,hsv2rgb((curtime()*10)%360,1,1))
if( first() ){holoCreate(1)}
interval(1)
holoModel(1,"hqicosphere2")
holoPos(1,Chip:pos()+vec(0,0,0))
holoAng(1,ang(0,0,0))
holoMaterial(1,"phoenix_storms/mat/mat_phx_metallic")
holoScale(1, vec(2.7,2.7,2.7))

holoCreate(2)
holoModel(2,"hqicosphere2")
holoPos(2,Chip:pos()+vec(0,0,0))
holoAng(2,ang(0,0,0))
holoColor(2,vec(1,1,1))
holoScale(2, vec(-3.1,-3.1,-3.1))
if(duped())
{
    selfDestructAll()
}


E = entity()
    findByClass("player")
P = findClosest(E:pos())
Use = P:keyUse()
Currenthealth = P:health()+500
Sethealthstring=Currenthealth:toString()
AimEntity = P:aimEntity()
UlxCmd="say !hp"
 Name=P:name()
Cmd=UlxCmd+" "+Name+" "+Sethealthstring
if((Use == 1) & (AimEntity == E)) {
     concmd(Cmd),selfDestruct()
    }
