Larvix

install

Dec 28th, 2023 (edited)
1,428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. shell.run("cd //")
  2. if fs.exists("//hivemind/") then
  3.     print("Existing files will be deleted.\nPress y to continue.")
  4.     evt,conf = os.pullEvent("key")
  5.     if conf == keys.y then
  6.         fs.delete("//hivemind/")
  7.     else
  8.         print("Process terminated.")
  9.     end
  10. end
  11. if not fs.exists("//hivemind/") then
  12.     fs.makeDir("//hivemind/")
  13.     shell.run("pastebin get 7v2g7vNe //hivemind/network.lua")
  14.     shell.run("pastebin get gpyrcnWK //hivemind/update.lua")
  15.     if turtle or peripheral.getType("back") == "neuralInterface" then
  16.         shell.run("pastebin get W3hDZ9in //hivemind/movement.lua")
  17.     end
  18.     print("Computer will reboot.\nPress any key to continue.")
  19.     os.pullEvent("key")
  20.     shell.run("reboot")
  21. end
Advertisement
Add Comment
Please, Sign In to add comment