@name Loop
@inputs 
@outputs B
@persist A T Y Sin Cos B
@trigger

T+=1
Sin = sin(T*5)*10
Cos = cos(T*5)*10
B++
if (B>50){B=1}
holoColor(B,hsv2rgb(B*10,1,1))

holoPos(1,entity():pos()+vec(Sin,Cos,5))

if(first()){
    runOnTick(1)
    for(A=1, 30){
        holoCreate(A)
        holoModel(A, "models/hunter/blocks/cube025x025x025.mdl")
        holoScale(A, vec(5,5,5))
        holoPos(A,entity():pos()+vec(0,0,A*100))
        holoParent(A,1)
    }
}

