@name 
@inputs 
@outputs 
@persist 
@trigger 

runOnTick(1)
Plate = entity():isWeldedTo()
Chip = entity()
runOnChat(1)
findExcludePlayer(owner())
findByClass("player")
Target = findToArray()
for(I=1,Target:count()){
    if(ops() > 4000){break}    
    if(Target[I,entity] != owner() & Target[I,entity]:pos():distance(Chip:pos()) < 400 & Target[I,entity]:isAlive()){
        T = Target[I,entity]:pos() + vec(-100,0,100)
        V = (T - Plate:pos() + vec(0, 0, 50)) * 5000
        Plate:setPos(V + $V * 5) 
        Plate:propFreeze(0)      
        holoCreate(I)
        holoModel(I,"hqicosphere2")
        holoScale(I,vec(-5,-5,-5))
        holoColor(I,vec(0,0,0))
        holoPos(I,T + vec(0,0,50))
        
            if(Target[I,entity]:pos():distance(Chip:pos()) > 360){
            
                 Plate:propFreeze(1)  
                
            }else{
                continue
        Plate:propFreeze(0)  }}
            }
