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 not fs.exists("jzc") then
- shell.run("pastebin get rfXW7SiN jzc")
- term.clear()
- end
- if not fs.exists("ztc") then
- shell.run("pastebin get S9SW0zHJ ztc")
- term.clear()
- end
- while true do
- local event, key = os.pullEvent("key")
- -- Use keys.m and keys.j instead of hardcoding 77 and 74.
- if key == keys.m then
- print("Booting Horizontal Mining System...")
- shell.run("jzc")
- elseif key == keys.j then
- print("Booting Laser Guided Warp System...")
- shell.run("ztc")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement