Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p1 = "red" --|craeted my limebriggs|--
- p2 = "blue" --|all passwords work and have been tested
- p3 ="cyan" --|feel free to edit or use this in any way just give credit
- p4 ="yellow" --|also thanks to all the folks on the froums for pionting out my mistakes
- p5 ="gray" --|should be used in conjunction with the scmatic file on my prfile
- p6 = "pink"
- p7 = "black"
- p8 = "purple"
- p9 = "orange"
- p10 = "green"
- p11 = "white"
- p12 = "brown"
- p13 = "magenta"
- p14 ="light gray"
- p15 ="light blue"
- p16 = "lime"
- ac = "1027"
- print("enter your personal password please: ")--|main system
- a = io.read()
- if a == p1 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.red)
- print("welcome red you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.red)
- os.shutdown()
- elseif a == p2 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.blue)
- print("welcome blue you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.blue)
- os.shutdown()
- elseif a == p3 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.cyan)
- print("welcome cyan you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.cyan)
- os.shutdown()
- elseif a == p4 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.yellow)
- print("welcome yellow you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.yellow)
- os.shutdown()
- elseif a == p5 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.gray)
- print("welcome gray you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.gray)
- os.shutdown()
- elseif a == p6 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.pink)
- print("welcome pink you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.pink)
- os.shutdown()
- elseif a == p7 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.black)
- print("welcome black you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.black)
- os.shutdown()
- elseif a == p8 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.purple)
- print("welcome purple you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.purple)
- os.shutdown()
- elseif a == p9 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.orange)
- print("welcome orange you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.orange)
- os.shutdown()
- elseif a == p10 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.green)
- print("welcome green you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.green)
- os.shutdown()
- elseif a == p11 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.white)
- print("welcome white you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.white)
- os.shutdown()
- elseif a == p12 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.brown)
- print("welcome brown you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.brown)
- os.shutdown()
- elseif a == p13 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.magenta)
- print("welcome magenta you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.magenta)
- os.shutdown()
- elseif a == p14 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.lightgray)
- print("welcome light gray you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.lightgray)
- os.shutdown()
- elseif a == p15 then
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.lightblue)
- print("welcome light blue you have 10 seconds to enter")
- sleep(10)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.lightblue)
- os.shutdown()
- elseif a == p16 then --|asess door code
- write("verfication code: ")
- a1 = io.read()
- if a1 == ac then
- print("welcome, please re-enter your access code to close the door: ")
- rs.setBundledOutput("back", rs.getBundledOutput("back") + colors.lime)
- a2 = io.read()
- if a2 == ac then
- print("have a nice day")
- sleep(2)
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.lime)
- sleep(1)
- os.shutdown()
- else
- print("retard wrong code")
- rs.setBundledOutput("back", rs.getBundledOutput("back") - colors.lime)
- sleep(2)
- os.shutdown()
- end
- else
- sleep(2)
- os.shutdown()
- end
- else
- print("wrong password")
- sleep(3)
- os.shutdown()
- end
Advertisement
Add Comment
Please, Sign In to add comment