@name HoloRainbow
@persist [Inc Count]:number
@model models/sprops/geometry/sphere_36.mdl
interval(100)
if(first())
{
    
    entity():setColor(255,0,0)
    entity():setMaterial("models/debug/debugwhite")
    
    #Count = 80
    Inc = 720 / Count
}

while(holoCanCreate() & perf())
{
    Count++
    holoCreate(Count)
    holoPos(Count, entity():pos() + vec(0,Count * 15,50))
    holoColor(Count, hsv2rgb(vec(Count,1, 1)))
    #holoScaleUnits(I, vec(30,30,100))
    #holoScale(I,vec(I/25))
    holoScale(Count,vec(3))
    #holoScaleUnits(I, vec(0,0,0))
    holoDisableShading(Count,1)
    holoModel(Count,"hq_sphere")
}

for(I = 1,Count)
{
    holoPos(I, entity():pos() + vec(cosr(curtime() * I/15) * I * 5, sinr(curtime() * I/15) * I * 5, I * 10 ))
}
