

I am trying to make a train stop plate, and I need help to make this contraption to be Activate with a sensor rail and desactivated by a target block hit on the wall, if you guys can help, I would aprecia-te so much.
The Banners meaning:
Number=orders
A=Activate
D=Desactivate
by NoArgument9321