@name Kill Ball
@persist V:vector Target:array
@persist Chip:entity Plate:entity Me:entity 

if(first()){

    holoCreate(1000)
    holoModel(1000,"hqicosphere2")
    holoScale(1000,vec(100,100,100))
    holoColor(1000,vec(100,100,200))

    holoCreate(1001)
    holoScale(1001,vec(-100,-100,-100))
    holoModel(1001,"hqicosphere2")
    holoColor(1001,vec(255,255,255))
    holoAlpha(1001,100)

}

runOnChat(1)
runOnTick(1)
Chip = entity()
if(owner():keyZoom() & owner():aimEntity():owner() == owner()){
Plate=owner():aimEntity() 
Me = owner()
}
runOnTick(1)
Chip=entity()
findExcludePlayer(owner())
findExcludePlayer("Mr. Croc")
findExcludePlayer("rock")
findExcludePlayer("zach")
findByClass("player")
E2=findByModel("models/dav0r/camera.mdl")
Target = findToArray()

for(I=1,Target:count()){
    
    if(ops() > 4000){break}
    
    if(Target[I,entity] != owner() & Target[I,entity]:pos():distance(Chip:pos()) < 330 & Target[I,entity]:isAlive()){
        
        T = Target[I,entity]:pos()
        V = (T - Plate:pos() + vec(0, 0, 50)) * 5000
        Plate:applyForce(V + $V * 5)
        
        holoCreate(I)
        holoModel(I,"hqicosphere2")
        holoScale(I,vec(-5,-5,-5))
        holoColor(I,vec(0,0,0))
        holoPos(I,T + vec(0,0,50))
        soundPlay(randint(1,10000),0, "npc/zombie_poison/pz_breathe_loop2.wa")
        
            if(Target[I,entity]:pos():distance(Chip:pos()) > 330){
                break
            }else{
                continue
            }
        
    }else{holoDelete(I)}
    
}
