Hi guys! There was a help topic on this a bit ago… (idk if you guys saw it/were in it/used it), but I wanted to make a guide thingy on how to do it!
Materials Needed
5 counters (1 of them invisible)
4 buttons (all invisible). Button message can be whatever, I used “Increase Number”
A barrier device/prop/whatever you want the combination to unlock
Yes there IS a way to use properties to do this but I’m not using them because
a) I don’t really know how to use them
b) I think they’re a bit annoying (maybe because I don’t know how to use them…)
Ok, now let’s do the stuff!
Step 1 - Placing everything
Put down your barrier and 4 visible counters. The counters should be aligned with the barrier and each other (I used the grid snap feature [size 32] to make them as precise as possible)
Now, take your invisible buttons and place them on top of the counters (if using grind snap, I reccomend downsizing to grid size 16).
Now, put down the last invisible counter beside the barrier.
Step 2 - Modifying Materials
If you haven’t already:
Add a button message to each button (I used “Increase Number”)
Make your counter by the barrier invisible and leave the others visible
Make each button invisible (optional)
Button settings:
Now, the stuff that WASN’T said before:
Go into your first counter. Put the scope to “player”. Go to the “Target” menu on the top and select “yes”. Then, input a number. This will be the first digit in your code.
Repeat those steps to the other three counters. On the last invisible one, set the target to “4”.
Anyways, there are two ways to do the final part: using wires or channels. Both will be explained respectively.
Using wires
Wire each button to their respective counter (I only moved the button so you could see the wire path).
This will, of course, be done to all four counters and buttons.
Lasts steps! Wire each counter to the invisible one off to the side (Target value reached > increment counter).
Do this to the other three counters.
Finally, wire the invisible counter to the barrier (target value reached > deactivate barrier).
And there you have it ladies and gentlemen! The finished product!
Using channels
Open your button settings. Navigate to the “Channels” menu. Under “When Button Pressed, Transmit On”, put in “Increase1”. Now, go into the settings of the counter it will control, and once again, navigate to the “Channels” menu. Under “Increment Counter When Receiving On”, put in “Increase1”.
Once that has been done, under the “When Target Reached, Transmit on”, put in “UnlockDoor”.
Now, do the same to the other three counters and buttons, with the appropriate numbering (for example, the second button will be “Increase2”, so on and so forth). However, EACH COUNTER SHOULD TRANSMIT ON “UNLOCKDOOR” ONCE TARGET VALUE IS REACHED!!!
Last steps now! Go into your invisible coutner settings and go to the “channels” menu. Under “Increment Counter When Receiving On”, put in “UnlockDoor”. Then, under “When Target Reached, Transmit On”, put “BarrierGone”.
Final step! Go into your barrier/prop settings, and navigate to “Availability”. Under “Deactivate When Receiving On”, put in “BarrierGone”.
Ladies And Gentlemen, you are done!
In-game, it will look like this:
I know that pictures will wash out eventually, and if you need them just ping me (using @Hdangerzones) and I can re-upload them!
Also, one last thing. If this isn’t a good guide or if I’m missing something please let me know. This is my very first guide so please have some patience with me. Thanks!















