Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run('clear')
- print("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) Spawn wither - FAILS IF FF IS ON\n[6] (Debug mode) Disable both FF")
- 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
- ffon = false
- redstone.setBundledOutput("bottom", 0)
- shell.run('startup')
- end
- if choice == "3" then
- if ffon == false then
- redstone.setBundledOutput("bottom", colors.magenta)
- sleep(1.5)
- redstone.setBundledOutput("bottom", colors.blue)
- sleep(1)
- redstone.setBundledOutput("bottom", colors.orange)
- sleep(1)
- redstone.setBundledOutput("bottom", 0)
- shell.run('startup')
- end
- if ffon == true then
- print("Unable to start - Forcefield is currently on.")
- shell.run('startup')
- end
- end
- if choice == "4" then
- redstone.setBundledOutput("bottom", colors.orange)
- sleep(1)
- redstone.setBundledOutput("bottom", 0)
- shell.run('startup')
- end
- if choice == "5" then
- redstone.setBundledOutput("bottom", colors.blue)
- sleep(2)
- redstone.setBundledOutput("bottom", 0)
- shell.run('startup')
- end
- if choice == "6" then
- rs.setBundledOutput("bottom", 0)
- rs.setBundledOutput("bottom", colors.yellow)
- shell.run('startup')
- end
Advertisement
Add Comment
Please, Sign In to add comment