Simple-ish wire door.. help?

i have this wired door ive made where you have to hit buttons in a way for them to add to a certain number. i just cant get it to work right, i got the entire thing working except the door itself, if the value from the add chip is anything but 0 the door opens. is there any way to only make the door open when it gets to a specific value? thanks guys! <33

Try that.

Wire the add chip to an equals gate, and then wire a constant value with the number you want it to add up to to the equals gate’s other input. Wire the door to the equals gate instead of the add gate.