Struggling with automatic door tags

With the above question, here is what I tried to do