Setting numbers

I am trying to have pressure plate open a door if the player steps on the correct plates in order and to reset the puzzle if the wrong number was entered the sequence is 1 3 7.
-1-
3- -
-7-
I have the door opening by pressing 3 pressure plates, but I want the door to open if the correct numbers are stepped on and reset if the incorrect numbers are stepped on.

This is how I’ve done it in the past

Here is how I would go about doing this:

The current input is reset when it is no longer a substring of the correct input.

1 Like
1 Like