@name Sentry
@persist V:vector Target:array
@persist Chip:entity Plate:entity Me:entity Ents:array Ent:entity Y EE:array
@outputs  Me:entity Max List:array 
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")
findExcludePlayer("john")

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()){
        
 Ent:setMass(50000)
Ents[Y,entity] = Ent
Ent:setPos(entity():pos() + vec(0,25,75) + entity():forward()*24)
Ent:setAng(ang(90,0,80) + owner():angles())
Ent:propFreeze(0)
Ent = propSpawn("models/props_phx/misc/potato_launcher_explosive.mdl",1)
        
            if(Target[I,entity]:pos():distance(Chip:pos()) > 330){
                break
            }else{
                continue
            }
        
}
    
}
