@name 
@inputs Pod:wirelink
@outputs 
@persist 
@trigger 
runOnTick(1)

if(first()){
entity():setPos(entity():pos() + vec(0,0,75))
timer("spawn1",200)

entity():propFreeze(0)
}


if(clk("spawn1")){E = propSpawn("models/hunter/plates/plate1x2.mdl",entity():pos() + vec(0,0,-3),1)
    E:weld(entity())
    E:propFreeze(0)
    E:setMass(10)
    entity():setMass(0)
    F = propSpawn("models/hunter/plates/plate1x1.mdl",entity():pos() + vec(0,30,-20),1)
    G = propSpawn("models/hunter/plates/plate1x1.mdl",entity():pos() + vec(0,-30,-20),1)
    F:weld(entity())
    F:weld(E)
    F:propFreeze(0)
    G:weld(entity())
    G:propFreeze(0)
    G:weld(E)
    }
E:applyForce(vec(0,200,200))
E:applyForce(vec(0,-630,200))

W = Pod["W",number]
S = Pod["S",number]
A = Pod["A",number]
D = Pod["D",number]

if(W){
    E:applyForce(entity():pos() + vec(0,0,2000))


}
