@name 
@inputs 
@outputs 
@persist E:entity Prop:entity Scale GG TT
@trigger 
interval(1)
if(first()){
    E = entity()
    Prop = E:isWeldedTo()
    Scale = 50
    GG = 1
    TT = 0
}

findExcludeClass("*")

findIncludeEntity(owner())
findInSphere(E:pos(),Scale)


if(find()){
    if(owner():keyAttack1() & owner():keyAttack1()){
Prop:applyForce((owner():aimPos()-Prop:pos())*Prop:mass())

E:propNotSolid(1)


}
}
else{E:propNotSolid(0)}
Prop:setAng(ang(0,90,360))
if(changed(owner():keyAttack2())){
    GG++
}
if(GG==1){
Prop:propFreeze(1)}
if(GG==3)
{Prop:propFreeze(0)
GG=0}




if(changed(owner():keyReload())){
    TT++
}
if(TT==1){
Prop:propNotSolid(1)}
if(TT==3)
{Prop:propNotSolid(0)
TT=0}
