Advertisement
PolskiWisnia

Untitled

Dec 16th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.20 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. while true do
  7. term.clear()
  8. term.setBackgroundColor(colors.white)
  9. term.clear()
  10. term.setBackgroundColor(colors.white)
  11. term.setTextColor(colors.white)
  12. term.setBackgroundColor(colors.green)
  13. term.setCursorPos(1,20)
  14. write("Start")
  15. term.setCursorPos(6,20)
  16. term.setBackgroundColor(colors.blue)
  17. term.setTextColor(colors.blue)
  18. write("                       ")
  19. term.setBackgroundColor(colors.yellow)
  20. term.setTextColor(colors.yellow)
  21. term.setCursorPos(25,20)
  22. write("0")
  23. term.setBackgroundColor(colors.red)
  24. term.setTextColor(colors.red)
  25. term.setCursorPos(26,20)
  26. write("0")
  27. term.setTextColor(colors.black)
  28. local event, click, x, y = os.pullEvent("mouse_click")
  29. if x == 1 and y == 20 or x == 2 and y == 20 or x == 3 and y == 20 or x == 4 and y == 20 or x == 5 and y == 20 or x == 1 and y == 20 or x == 2 and y == 20 or x == 3 and y == 20 or x == 4 and y == 20 or x == 5 and y == 20  then
  30.  term.setBackgroundColor(colors.blue)
  31.  term.setCursorPos(1,19)
  32.  print("Wyjdz do CraftOS ")
  33.  term.setCursorPos(1,18)
  34.  print("Programy         ")
  35.  term.setCursorPos(1,17)
  36.  print("MineSurf         ")
  37.  term.setCursorPos(1,16)
  38.  print("Panel sterowania ")
  39.  term.setBackgroundColor(colors.white)
  40.  local event, click, x, y = os.pullEvent("mouse_click")
  41.  if x == 1 and y == 19 or x == 2 and y == 19 or x == 3 and y == 19 or x == 3 and y == 19 then term.clear() term.setCursorPos(1,1) error("") end
  42.  if x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 4 and y == 18 then
  43.  x = 0
  44.  y = 0
  45.  term.setCursorPos(1,2)
  46.  print("Programy MineCore")
  47.  print("2048")
  48.  local event, click, x, y = os.pullEvent("mouse_click")
  49.  if x == 1 and y == 3 or x == 2 and y == 3 or x == 3 and y == 3 then shell.run("/os/.2048")
  50.  end
  51.  end
  52.  if x == 1 and y == 17 or x == 2 and y == 17 or x == 3 and y == 17 or x == 4 and y == 17 then
  53.  term.setCursorPos(1,2)
  54.  print("MineSurf 2.0 dla MineCore")
  55.  print("Nic tu nie ma!")
  56.  print("Wroc pozniej aby zdobyc nowe aplikacje dla MineCore")
  57.  sleep(5)
  58.  end
  59.  if x == 1 and y == 16 or x == 2 and y == 16 or x == 3 and y == 16 or x == 4 and y == 16 then
  60.  term.setCursorPos(1,2)
  61.  print("Panel sterowania MineCore")
  62.  print("Zmien nazwe komputera")
  63.  print("[Zmien]")
  64.  print("Wyswietl informacje o komputerze")
  65.  print("[Informacje]")
  66.  local event, click, x, y = os.pullEvent("mouse_click")
  67.  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() os.setComputerLabel(nazwa) os.reboot() end
  68.  if x == 1 and y == 6 or x == 2 and y == 6 or x == 3 and y == 6 or x == 4 and y == 6 then shell.run("/os/.informacje") end  
  69.  end
  70. end
  71. if x == 19 and y == 19 then os.reboot() end
  72. if x == 20 and y == 19 then os.shutdown() end
  73. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement