Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Please choose an option.")
- print("")
- print("")
- -- Options
- print("[1] - Lock System")
- print("[2] - System Shell")
- local event, key = os.pullEvent("key")
- if key == keys.one then
- shell.run("locksys")
- elseif key == keys.two then
- print("Accessing Shell...")
- sleep(0.5)
- term.clear()
- term.setCursorPos(1,1)
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement