@name Target Practice Ripoff V1
@inputs 
@outputs 
@persist T P:entity DIFFICULTY
@trigger 
@model 
interval(1)
if(first()){
E = entity()
holoCreate(1)
DIFFICULTY = 0.01
holoModel(1,"models/props_phx/trains/trackslides_inner.mdl")
holoPos(1,E:pos()+vec(0,0,50))
holoAng(1,ang(0,0,180))
holoScale(1,vec(4,4,1))
#115 = magic number
T = -115
P = propSpawn("models/mechanics/solid_steel/crossbeam_4.mdl",E:pos() + vec(0,-115,15),1)
P:setAng(E:angles() + ang(0,135,0))
}
if(T<115){
    T = T + DIFFICULTY
    P:setPos(P:pos() + vec(0,T,0))
}
else{T = T - DIFFICULTY
    P:setPos(P:pos() + vec(0,T,0))}


