@name HoloAnim  ANY MODEL
@outputs I
@persist [Model Anim]:array
@persist [E O]:entity G2P
@persist End I Anima
@persist X Y

E = entity()

if(first())
{
runOnTick(1)

E = entity()
O = owner()

Model = array(
"models/Kleiner.mdl",
"models/Barney.mdl",
"models/player/hostage/hostage_04.mdl",
"models/player/hostage/hostage_02.mdl",
"models/Combine_Super_Soldier.mdl",
"models/alyx.mdl",
"models/breen.mdlq",
"models/Eli.mdl",
"models/dog.mdl",
"models/Humans/Group03/male_07.mdl",
"models/Police.mdl",
"models/Combine_Scanner.mdl",
"models/Zombie/Classic.mdl",
"models/Combine_Strider.mdl",
"models/headcrabclassic.mdl",
"models/vortigaunt.mdl",
"models/monk.mdl")
#models/player/t_phoenix.mdl
}

if(first()){
    holoCreate(1)
    holoPos(1002,vec(owner():aimPos():x(),owner():aimPos():y(),G2P))
    E:pos()+vec(110,8,6)
    holoModel(1,"models/Kleiner.mdl")
    holoAnim(1,0)
    holoScale(1, vec(1.2,1.2,1.2))
    I++
    timer("changeanim",holoAnimLength(1)*1000)
    holoParent(1,E)
    if(changed(E:pos())){
        
        if(!End)
{
if(holoCanCreate() & I!=100)
{
        
        
    }
}
I++
holoAnim(I,I,100,100)
if(X!=10){X++}
if(Y!=10 & X==10){X = 0 Y++}
Anim[I,number] = holoAnimLength(I)
} 
}

if(clk("changeanim")){
    holoAnim(1,I)
    I++
    timer("changeanim",holoAnimLength(1)*100000000)
}
###MODELS###
#models/dog.mdl
#models/player/alyx.mdl
###########TIMER############
#"changeanim"
#EXAMPLE:Alyx: "hips"
#models/player/combine_soldier.mdl
