@name Big Buddness - Croco
@inputs 
@outputs 
@persist M:entity K:entity
@trigger 
runOnTick(1)
if(first()){
A = propSpawn("models/props_phx/huge/evildisc_corp.mdl",entity():pos(),1)
B = propSpawn("models/hunter/plates/plate7x7.mdl",vec(-15297.8086,-15202.2656,7030.1167),1)
C = propSpawn("models/hunter/plates/plate7x7.mdl",vec(-15297.8086,-15202.2656,6890.1167),1)
D = propSpawn("models/hunter/plates/plate3x7.mdl",vec(-15297.8086,-15035.2656,6960.1167),1)
D:setAng(ang(90,90,0))
E = propSpawn("models/hunter/plates/plate3x7.mdl",vec(-15297.8086,-15359.2656,6960.1167),1)
E:setAng(ang(90,90,0))
F = propSpawn("models/hunter/plates/plate3x7.mdl",vec(-15455.8086,-15202.2656,6960.1167),1)
F:setAng(ang(90,180,0))
G = propSpawn("models/hunter/plates/plate3x7.mdl",vec(-15130.8086,-15202.2656,6960.1167),1)
G:setAng(ang(90,180,0))
C:setMaterial("models/props/CS_militia/roofbeams01")
B:setMaterial("phoenix_storms/cube")
D:setMaterial("phoenix_storms/cube")
E:setMaterial("phoenix_storms/cube")
F:setMaterial("phoenix_storms/cube")
G:setMaterial("phoenix_storms/cube")
entity():setPos(entity():pos() + vec(250,-380 , 4530.2671))
holoCreate(1)
holoPos(1,entity():pos() + vec(250,-380 , 4530.2671))
holoCreate(2)
holoPos(2,vec(-15297.8086,-15202.2656,7005.1167))
holoCreate(3)
holoPos(3,B:pos() + vec(0,0,50))
}


findByClass("player")
Target = findToArray()
for(I=1,Target:count()){
    if(ops() > 4000){break}    
    if(Target[I,entity] == owner() & Target[I,entity]:pos():distance(entity():pos()) < 100 & Target[I,entity]:isAlive()){
        T = Target[I,entity]:pos()
L =  Target[I,entity]:name()
K = findPlayerByName(L)
print(L)
K:tele(holoEntity(3):pos())

if(L == owner():name()){
    owner():tele(vec(-15297.8086,-15202.2656,6950.1167))
}
}}
