@name Prop Destroyer 9000
@inputs Prop:entity
@outputs 
@persist Properp:entity Pos:vector
@trigger 


timer("L_Refresh", 1000)
if(first() | duped()){
    for(I=1, findInSphere(entity():pos(), 30)){
        if(findResult(I):model()=="models/hunter/blocks/cube025x025x025.mdl" | findResult(I):getColor()==vec(255,0,0)){
            Properp=findResult(I)
            hint("Found!", 3)
        
        }
}

}

interval(10)
    Pos = Properp:pos()-entity():pos()+vec(0,0,60)

    Properp:applyForce(Pos+ $Pos*5)

