Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

lukeh990

Members
  • Content Count

    3
  • Joined

  • Last visited

About lukeh990

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    Luke110206
  • GitHub
    Luke110206
  1. There is a program for this Click here
  2. Make sure to change password and test side it goes 1-6. All you should need is a redstone card local component=require("component") --references all connected components local r=component.redstone --Choose redstone from components list local gpu=component.gpu --Choose gpu from components local term=require("term") --References terminal commands ---- config section local password="1234" local delay=5 --time the door stays open local side=5 --side of the door, test this ----- local wrong=false while true do term.clear() --Clear screen gpu.set(1,1,"Please enter the password") if wrong then gpu.set(1,1,"Password was wrong, try again") wrong=false end term.setCursor(1,2) local input=io.read() --wait for user input if input==password then r.setOutput(side,15) -- check if this is the correct function os.sleep(delay) r.setOutput(side,0) -- same here else wrong=true end end
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.