Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run('clear')
- admin = false
- print("Please click the player detector on the side of the computer so I can welcome you by your name!")
- event, user = os.pullEvent("player")
- shell.run('clear')
- if user == "minicl55" then
- admin = true
- print("Welcome, "..user.."! Please select an option:\n[1] Enable FF\n[2] Disable FF\n[3] Create wither\n[4] (Debug mode) Retract wither spawners\n[5] (Debug mode) Disable both FF\n[6] (Debug mode) Terminate program (Broken!)")
- else
- print("Welcome, "..user.."! Please select an option:\n[1] Enable FF\n[2] Disable FF\n[3] Create wither")
- end
- local event, choice = os.pullEvent("char")
- if choice == "1" then
- redstone.setBundledOutput("bottom", colors.white+colors.yellow)
- shell.run('startup')
- end
- if choice == "2" then
- redstone.setBundledOutput("bottom", colors.green)
- sleep(.5)
- redstone.setBundledOutput("bottom", 0)
- shell.run('startup')
- end
- if choice == "3" then
- redstone.setBundledOutput("bottom", 0)
- sleep(.5)
- redstone.setBundledOutput("bottom", colors.pink)
- sleep(.5)
- redstone.setBundledOutput("bottom", colors.pink+colors.magenta)
- sleep(.5)
- redstone.setBundledOutput("bottom", colors.blue)
- sleep(2)
- redstone.setBundledOutput("bottom", colors.pink)
- sleep(.3)
- redstone.setBundledOutput("bottom", colors.pink+colors.orange)
- sleep(1)
- redstone.setBundledOutput("bottom", 0)
- redstone.setBundledOutput("bottom", colors.white+colors.yellow)
- shell.run('startup')
- end
- if choice == "4" then
- if admin == true then
- redstone.setBundledOutput("bottom", colors.orange)
- sleep(1)
- redstone.setBundledOutput("bottom", 0)
- end
- shell.run('startup')
- end
- if choice == "5" then
- if admin == true then
- rs.setBundledOutput("bottom", 0)
- rs.setBundledOutput("bottom", colors.yellow+colors.pink)
- end
- if choice == 6 then
- if admin == true then
- error()
- end
- end
- else
- shell.run('startup')
- end
Advertisement
Add Comment
Please, Sign In to add comment