@name Drone_v1_by_Jim
@inputs Chair:entity
@outputs Ply:entity
@persist Prop:entity

runOnTick(1)
if(first())
{
    Prop= entity():isWeldedTo()
    }

if(Chair:driver()!=noentity()){
    Ply = Chair:driver()
    }

if(Ply:keyPressed("w")){
        Prop:applyForce(Prop:forward()*100)
        print("worked")
        }

