@name Gears
@inputs 
@outputs 
@persist Ge:array X 
@trigger 
interval(100)

if (first()) {
    holoCreate(1)
    holoModel(1,"models/sprops/misc/alphanum/alphanum_0.mdl")
    holoPos(1,entity():toWorld(vec(0,0,30)))
    holoAng(1,entity():toWorld(ang(0,0,0)))
    X = 7


Ge = array(
    "models/sprops/misc/alphanum/alphanum_6.mdl",
    "models/sprops/misc/alphanum/alphanum_5.mdl",
    "models/sprops/misc/alphanum/alphanum_4.mdl",
    "models/sprops/misc/alphanum/alphanum_3.mdl",
    "models/sprops/misc/alphanum/alphanum_2.mdl",
    "models/sprops/misc/alphanum/alphanum_1.mdl",
    "models/sprops/misc/alphanum/alphanum_n.mdl",
    "models/sprops/misc/alphanum/alphanum_r.mdl"
)
}

if (changed(owner():keySprint()) & owner():keySprint()) {
    X = X-1
}
if (changed(owner():keyWalk()) & owner():keyWalk()) {
    X = X+1
}

holoModel(1,Ge[X,string])
