How to make a simple combination lock [Difficulty 🟩 or 2/10]

  • Take 2-9 triggers, make them invisible, make them send a signal when steped on, and then put them in a cirle with an opening and middle
    Screenshot 2023-10-11 10.47.13 AM

  • Create a counter device and a property. make it so that when the counter is updated the property is updated

  • Hook each up to a checker that checks the property. Make them check if equal to (number from 0 through triggers -1) has a different number. Make it increase the property if the check passes, and reset when incorrect. (Remember that some can just auto-reset if you want a short code but with lots of combinations!)

This is my full setup. The trigger on the left is the “reset trigger” that resets the property when triggered, and it triggers when any check passes or you step on a non-checker trigger.
Screenshot 2023-10-11 11.13.51 AM

  • You can cover the triggers with different color barriers above the player to make it a color code. Don’t cover the whole trigger though! take a few tests to make sure you can trigger it. also make the triggers not visible in game
    Screenshot 2023-10-11 11.43.03 AM
    (There is a white barrier under the trigger)

  • You can also use text to put numbers there

  • Give the counter a target of the number of checkers. make it turn off a barrier when target value reached

  • You can un-hide the counter to make the combination visible, as shown here

Screenshot 2023-10-11 2.49.27 PM

Screenshot 2023-10-11 2.50.07 PM

  • I also recommend having a button that opens a file on a computer or a sticky not somewhere near to help the player figure out the code

And there you go! A simple combination lock!

If it isn’t working and you are using barriers, the players probably don’t have enough hitbox to register the trigger, so move the barrier back a bit

Have a good day!

Difficulty

  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
  • 11/10
0 voters

What can I improve next time?

  • More pictures
  • Better pictures
  • More details
  • Nothing
0 voters
8 Likes

Wow, you’ve been making lots of guides! I have high, high hopes for you!

4 Likes

nice guide!
A few tips:
Be descriptive of the device settings
Add pictures
Instead of saying to hook up a device to another, be more descriptive of the wire settings.

3 Likes

Yes, pictures are powerful!

A guide should not only walk through how to do something, but attempt to explain why, and give examples how your device system works to successfully engineer a solution to a problem.

You can use visual aids, detailed explanations, and other things to make these guides well!

Anyways, great guide!

5 Likes

Great guide! You might want to add pictures and credit this guide How to make a locked door (Difficulty: 🟩)

Yeah, I just had the idea and I didn’t want to forget. I’ll add them soon

Great guide! I have an inkling of an idea to not use lots of properties. Can I make a guide on this?

Yes, of course.

Ok. Thanks!

I updated the guide

Final update done! (Please rate guide)

Nice job! Actually pretty cool!

1 Like