@name 
@inputs 
@outputs GRAB
@persist E:string
@trigger 
runOnTick(1)
if(first()){
holoCreate(1)
GRAB = 1
}
holoPos(1,owner():aimPos() + vec(0,0,10))
if(owner():keyUse()){

    E = owner():aimEntity():model()
    F = owner():aimEntity()
    F:parentTo(holoEntity(1))
    F:propNotSolid(1)
    gSetStr(1,E)
    print(GRAB)
GRAB++}
if(GRAB >= 2){
    
    G = propSpawn(gGetStr(1),owner():aimPos() + vec(0,0,10),0)
  #  holoDelete(1)
print(gGetStr(1))
GRAB = 1
timer("create",5000)
}
if(clk("create")){
holoCreate(1)}
