@name Austrailium
@inputs 
@outputs 
@persist T G Array:array Distance Result:string Times Damage PICKUP
@trigger 
interval(1)
if(PICKUP == 0){
T++
holoAng(1,ang(0,T,0))
}
if(first()){
    T = 1
    PICKUP = 0
    E = entity()
 holoCreate(1)
holoModel(1,"models/props_doomsday/australium_container.mdl")   
    holoPos(1,E:pos() + vec(0,0,5))
    holoCreate(2)
    holoModel(2,"hq_torus")
    holoPos(2,E:pos() + vec(0,0,-6))
    holoColor(2,vec(255,255,0))
    E:parentTo(holoEntity(1))
    E:propNotSolid(1)
G = 1    
}
holoScale(2,vec(G,G,G))
G=G+0.5
if(G > 50){
G = 0}

timer("check",1)
Distance = 10
Result = ""
Times = 100
Damage = 20
entity():setAlpha(0)
    if (clk("check")) {
  findInSphere(entity():pos(), Distance)
    Array = findToArray()

    for(I=1,Array:count()) {
        if(Array[I,entity]:isPlayer()) {
            if(Array[I,entity]:isAlive()) {

holoAlpha(2,0)
PICKUP = 1

GG = findClosest(entity():pos())

        

holoParent(1,GG)
}}}}
holoPos(1,GG:pos() + vec(0,0,25))
