Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Press M to Activate Horizontal Mining System, Press J to Activate Laser Guided Warp System")
- if fs.exists("jzc") == false then
- shell.run("pastebin get rfXW7SiN jzc")
- term.clear()
- end
- if fs.exists("ztc") == false then
- shell.run("pastebin get S9SW0zHJ ztc")
- term.clear()
- end
- while true do
- local event, key = os.pullEvent("key")
- if event == "key" then
- -- keys are represented by numbers, the number for 'M' is 77
- if key == 77 then
- print("Booting Horizontal Mining System...")
- shell.run("jzc")
- end
- -- keys are represented by numbers, the number for 'J' is 74
- if key == 74 then
- print("Booting Laser Guided Warp System...")
- shell.run("ztc")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement