@name 
@inputs 
@outputs 
@persist Toggle
@trigger 

if(first()){
    E = propSpawn("models/props_c17/door01_left.mdl",entity():pos() + vec(0,0,50),1)
    Scale = 40
    Toggle = 1
}
findExcludeClass("*")
findIncludeClass("player")
findInSphere(E:pos(),Scale)

if(find()){
G = findClosest(entity():pos())
if(G:keyUse()){
Toggle++    
}
}

if(Toggle==2){
    E:setAng(ang(0,90,0))
    print("test")
}
