@name 
@inputs Right Left
@outputs GUN
@persist TIMER TIMER2 T
@trigger 

holoCreate(1)
holoParent(1,entity())
holoPos(1,entity():pos() + vec(0,0,10))
if(first()){T=1
    TIMER = 1
    TIMER2= 1}
if(Left==1){
    if(TIMER==1){
T = T - 1
timer("timer",1000)
TIMER = 0}}
if(Right==1){
    if(TIMER2==1){
T = T+1
timer("timer2",1000)
TIMER2 = 0}}

if(T>=3){T=1}
if(T<1){T=2}
if(T ==1){
    holoModel(1,"models/weapons/w_snip_sg550.mdl")
}

if(T ==2){
    holoModel(1,"models/weapons/w_shot_m3super90.mdl")
}

if(clk("timer")){TIMER=1}
if(clk("timer2")){TIMER2=1}
