@name TestingMine
@model models/hunter/tubes/tube1x1x1d.mdl
@persist [Mod Color Mat Pos Ang]:array Int Offset Ready

E = entity()

function cReate(Index, Model:string, Position:vector, Angle:angle, Scale:vector, Mat:string)
    {
        holoCreate(Index)
        holoModel(Index,Model)
        holoPos(Index,Position)
        holoAng(Index,Angle)
        holoScale(Index,Scale)
        holoMaterial(Index,Mat)
        holoShadow(Index,1)
        holoParent(Index,E)
    }

if(first())
{
    Int = 0
    Offset = 0
    runOnTick(1)
    Mod = array("models/hunter/tubes/tube1x1x1d.mdl")
    Color = array(vec4(255,255,255,255))
    Mat = array(" ")
    Pos = array(vec(-18.0169,-24.1209,24.2513))
    Ang = array(ang(0.1176,179.9847,-0.0658))
}

if(!Ready)
{
    while(holoCanCreate() & perf() & Int < Mod:count())
    {
        Int++
        local TempInt = Int+Offset
        holoCreate(TempInt,entity():toWorld(Pos[Int,vector]),vec(1),entity():toWorld(Ang[Int,angle]))
        holoColor(TempInt,Color[Int,vector4])
        holoModel(TempInt,Mod[Int,string])
        holoMaterial(TempInt,Mat[Int,string])
        holoParent(TempInt,entity())
    }
    Ready = Int >= Mod:count()
}