Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- password = "Multi"
- craftos = "CraftMulti"
- output = "right"
- trap = "left"
- opentime = 5
- traptime = 5
- os.pullEvent = os.pullEventRaw
- print("You are trying to access multis base!")
- print("Be carefull! Double check password!")
- sleep(2)
- shell.run("clear")
- write("Password: ")
- input = read("x")
- if password == input then
- print("Access Granted for 5seconds")
- rs.setOutput(output, true)
- sleep(opentime)
- rs.setOutput(output, false)
- print("Shutting down...")
- sleep(1)
- os.shutdown()
- end
- if craftos == input then
- print("Starting CraftOS 1.3")
- print("Leaving PieLock")
- shell.run("shell")
- end
- if not(user == password) or (user == craftos) then
- print("Access denied! You may die now!")
- rs.setOutput(trap, true)
- sleep(traptime)
- rs.setOutput(trap, false)
- print("Shutting down...")
- os.shutdown()
- end
Add Comment
Please, Sign In to add comment