Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Misc Functions
- function clearScreen()
- term.clear()
- term.setCursorPos(1,1)
- end
- while true do
- clearScreen()
- print("Welcome to World Destroyer (v1.1)")
- print("==============================")
- print("Please make your choice:")
- print("1. Kill everyone on the server")
- print("2. Initialize Twilight World destroying protocols")
- print("0. Exit")
- write("Command> ")
- local choice = read()
- if (choice == '1') then
- print("Loading Missiles...")
- os.sleep(1)
- print("Finding targets...")
- os.sleep(1)
- print("Fatal Error. ")
- os.sleep(2)
- elseif (choice == '2') then
- print("Initializing...")
- redstone.setOutput("back",true)
- os.sleep(3)
- print("The Twilight World resetting protocols have been initialized successfully")
- os.sleep(1)
- elseif (choice == '0') then
- clearScreen()
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment