@name AutoLock
@inputs Car:entity Wheel1:entity Wheel2:entity Wheel3:entity Wheel4:entity
@outputs Break Owner:entity Engine
@persist Owner:entity
@trigger 

if(first() || duped()){
Owner = findPlayerByName("Aiizr")
Wheel1:setMass(1)
Wheel2:setMass(1)
Wheel3:setMass(1)
Wheel4:setMass(1)


}
runOnTick(1)
if(Car:driver()!=Owner & Car:driver()){
    Break = 1
    Engine = 0
    }
else{
    Break = 0
    Engine = 1
    }

