Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.lime)
- sleep(0.5)
- textutils.slowPrint("Vault-Tec 1000 - Vault 58")
- sleep(0.5)
- textutils.slowPrint("Welcome Overseer")
- sleep(0.5)
- print(" ")
- textutils.slowPrint("Select an Option:")
- textutils.slowPrint("[1] Open Vault/Close Vault")
- textutils.slowPrint("[2] Disable System")
- textutils.slowPrint("[3] Logout")
- local event, input = os.pullEvent("char")
- if input == "1" then
- term.clear()
- term.setCursorPos(1,1)
- sleep(0.1)
- if redstone.getOutput("left", true) then
- textutils.slowPrint("Closing...")
- redstone.setOutput("left", false)
- else
- textutils.slowPrint("Opening...")
- redstone.setOutput("left" , true)
- end
- sleep(2)
- shell.run("System")
- end
- if input == "2" then
- term.clear()
- term.setCursorPos(1,1)
- sleep(0.5)
- textutils.slowPrint("Disabling System")
- sleep(2)
- end
- if input == "3" then
- shell.run("Password")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement