Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- code = "minecraft"
- debug = "debug"
- output = "left"
- tries = 5
- pulsout = 5
- hax = true
- haxout = "right"
- print
- write
- for triescnt = 1,tries,1 do
- password = read()
- if password == debug then
- print "Debug Mode Activated"
- break
- end
- if password == (code) then
- print "Access Granted!"
- redstone.setOutput(output, true)
- sleep(pulsout)
- redstone.setOutput(output, false)
- os.shutdown()
- else
- if hax then
- print "Acces Denied! \nLaunching Anti-Grief Security.."
- print "Stand still.. This won't hurt : )"
- redstone.setOutput(haxout, true)
- sleep(pulsout)
- redstone.setOutput(haxout, false)
- os.shutdown()
- else
- print ("Access Denied. Attempts left: ",tries-triescnt)
- write "Password: "
- end
- end
- if triescnt == tries then
- print "Maximum Attempts Reached. \nJust who the fuck are you?"
- sleep(2)
- print "System is shutting down.."
- sleep(1)
- os.shutdown()
- else
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement