Advertisement
PolskiWisnia

March setup BETA

Mar 7th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.56 KB | None | 0 0
  1. -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
  2. -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
  3. -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
  4. -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
  5. -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
  6. term.setBackgroundColor(colors.white)
  7. term.clear()
  8. term.setBackgroundColor(colors.white)
  9. term.setTextColor(colors.gray)
  10. term.setCursorPos(1,1)
  11. print("MineCore Aktualizacja Marcowa")
  12. print("Wybierz jezyk/Choose language")
  13. print("1. Polski")
  14. print("2. English")
  15. write("")
  16. jezyk = read()
  17. if jezyk == 1 then
  18.  -- Ten kod jest moj arczez, nie twoj --
  19.  term.clear()
  20.  if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
  21.  local image = paintutils.loadImage("/os/.pulpit")
  22.  if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear()
  23.  term.setBackgroundColor(colors.black) end
  24.  term.setTextColor(colors.white)
  25.  term.setCursorPos(1,19)
  26.  write("Start")
  27.  local event, click, x, y = os.pullEvent("mouse_click")
  28.  if x>0 and x<6 and y == 19  then
  29.   term.setBackgroundColor(colors.blue)
  30.   term.setCursorPos(1,18)
  31.   print("Wyjdz do CraftOS ")
  32.   term.setCursorPos(1,17)
  33.   print("Ustawienia         ")
  34.   term.setCursorPos(1,16)
  35.   print("Zainstaluj MineCore")
  36.   term.setCursorPos(1,15)
  37.   term.setBackgroundColor(colors.green)
  38.   textutils.slowPrint("Microcraft MineUI Live")
  39.   term.setBackgroundColor(colors.black)
  40.   local event, click, x, y = os.pullEvent("mouse_click")
  41.   if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
  42.   if x>0 and x<10 and y == 17 then
  43.   term.setCursorPos(1,2)
  44.   print("Ustawienia MineCore")
  45.   print("Zmien nazwe komputera")
  46.   print("[Zmien]")
  47.   print("Zainstaluj system dla wiekszej ilosci ustawien")
  48.   local event, click, x, y = os.pullEvent("mouse_click")
  49.   if x == 1 and y == 4 or x == 2 and y == 4 or x == 3 and y == 4 then term.setCursorPos(1,4) write("Wpisz nowa nazwe:") nazwa = read()
  50.  os.setComputerLabel(nazwa) os.reboot() end
  51.   end
  52.   if x>0 and x<10 and y == 16 then
  53.    term.clear()
  54.    term.setCursorPos(1,1)
  55.    print("Instaluje....")
  56.    term.setCursorPos(20,19)
  57.    write("/startup")
  58.    shell.run("startup")
  59.    term.setCursorPos(1,17)
  60.    shell.run("pastebin get HDpVaQKe startup")
  61.    term.setCursorPos(20,19)
  62.    write("/os/")
  63.    shell.run("mkdir os")
  64.    term.setCursorPos(20,19)
  65.    write("/os/.menu")
  66.    term.setCursorPos(1,17)
  67.    shell.run("pastebin get VypKKF5K /os/.menu")
  68.    term.setCursorPos(20,19)
  69.    write("/os/.informacje")
  70.    term.clearLine()
  71.    term.setCursorPos(1,17)
  72.    shell.run("pastebin get NA5MgG37 /os/.informacje")
  73.    term.clearLine()
  74.    term.setCursorPos(20,19)
  75.    write("/os/.2048")
  76.    term.setCursorPos(1,17)
  77.    shell.run("pastebin get u0urwgNc /os/.2048")
  78.    term.setCursorPos(20,19)
  79.    write("/os/.luaide")
  80.    term.setCursorPos(1,17)
  81.    shell.run("pastebin get vyAZc6tJ /os/.luaide")
  82.    term.setCursorPos(20,19)
  83.    write("/os/icon")
  84.    term.setCursorPos(1,17)
  85.    shell.run("pastebin get KkPMhn2Q /os/icon")
  86.    term.setCursorPos(1,17)
  87.    shell.run("pastebin get aK9v7Qvg /os/.pulpit")
  88.    sleep(4)
  89.    term.setCursorPos(1,7)
  90.    print("Gotowe!")
  91.    os.setComputerLabel("MineCore PC")
  92.   end
  93.  if x == 50 and y == 19 then os.reboot() end
  94.  if x == 51 and y == 19 then os.shutdown() end
  95. end
  96. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement