@name Flag Capture By AccaF
@persist EE:entity O:entity TT Timer T

if(first()){
holoCreate(1)
holoCreate(2)
holoCreate(3)
holoCreate(4)
############
holoModel(1,"models/sprops/cylinders/size_2/cylinder_3x72.mdl")
holoModel(2,"models/sprops/cylinders/size_2/cylinder_3x72.mdl")
holoModel(3,"models/sprops/cylinders/size_2/cylinder_3x72.mdl")
holoModel(4,"")
############
holoParent(1,entity())
holoParent(2,entity())
holoParent(3,entity())
holoParent(4,entity())
############
holoMaterial(1,"phoenix_storms/fender_white")
holoMaterial(2,"phoenix_storms/fender_white")
holoMaterial(3,"phoenix_storms/fender_white")
holoMaterial(4,"phoenix_storms/fender_white")
############
holoColor(1,vec(100,100,100))
holoColor(2,vec(50,255,0))
holoColor(3,vec(255,10,0))
holoColor(4,vec(255))
############
holoPos(1,entity():toWorld(vec(0,0,36.50)))
holoScale(2,vec(50,50,0))
holoPos(3,entity():toWorld(vec(15,0,20)))
holoScale(3,vec(10,0,0.20))
}




interval(1500)

if (first()){EE = entity()

}

findIncludeClass("player")

Fsphere = findInSphere(entity():pos(), 100)
if(Fsphere > 0){
O = findClosest(entity():pos()) 
TT = 0

holoColor(3,vec(0,255,0))
soundPlay(3,1,"garrysmod/save_load1.wav")
holoPos(3,entity():toWorld(vec(0,0,66))+randvec(0, 1))
T++
holoPos(3,entity():toWorld(vec(15,0,66))+vec(0,0,T ))
if(T>29){
holoPos(3,entity():toWorld(vec(15,0,66)))
}

}else{
holoDelete(TT)
}
Timer += 1000
T = Timer

if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
