How to make a password/number pattern

how do you make a password for a secret room

Welcome to the forum! Try:

i need one that only the player who enters the code can go in

Well just make a relay connected to it(player only) or a button to close the door behind them

Welcome to the forums, @bob1 !

welcome to forums @bob1