@name Prop Breaker
@model models/hunter/misc/sphere025x025.mdl
@outputs [EE Me]:entity Max List:array
runOnTick(1)
 entity():setColor(hsv2rgb((curtime()*10)%360,1,1))
if(first()){
    EE=entity()
    entity():setMaterial("debug/debugdrawflat")
    
   

    Me=owner()
    EE:setMass(50000)
}
findInSphere(owner():pos(), 10000000)
findExcludePlayer(owner())
findExcludePlayer("rock")

findDisallowClass("gmod_thruster")
findByClass("prop_physics")
findSortByDistance(owner():pos())
if(Max!=findToArray():count()){
    List=findToArray()
    Max=List:count()
}
if(Max==0){
    EE:applyForce(((Me:shootPos()+vec(0,0,75)-EE:pos())*40-EE:vel())*EE:mass())
    }else{
   EE:applyForce(((List[1,entity]:massCenter()+vec(0,0,sin(curtime()*50000000)*50)-EE:pos())*90000-EE:vel())*EE:mass())
}
