Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
- -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
- -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
- -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
- -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
- while true do
- -- Ten kod jest moj arczez, nie twoj --
- if fs.exists("/os/.pulpit") then obrazek = 1 else obrazek = 0 end
- local image = paintutils.loadImage("/os/.pulpit")
- if obrazek == 1 then paintutils.drawImage(image, 1, 1) else term.setBackgroundColor(colors.black) term.clear() term.setBackgroundColor(colors.black) end
- term.setBackgroundColor(colors.red)
- term.setTextColor(colors.white)
- term.setCursorPos(1,6)
- print("System MineCore April Update stracil juz wsparcie techniczne. Zalecamy przejscie na MineCore NextUI.")
- term.setBackgroundColor(colors.green)
- term.setCursorPos(1,19)
- write("Start")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<6 and y == 19 then
- term.setBackgroundColor(colors.blue)
- term.setCursorPos(1,18)
- print("Wyjdz do CraftOS ")
- term.setCursorPos(1,17)
- print("Programy ")
- term.setCursorPos(1,16)
- print("Ustawienia ")
- term.setCursorPos(1,15)
- print("Komenda /run ")
- term.setCursorPos(1,14)
- print("Zasilanie ")
- term.setCursorPos(1,13)
- term.setBackgroundColor(colors.green)
- textutils.slowPrint("Microcraft MineUI")
- term.setBackgroundColor(colors.black)
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>0 and x<10 and y == 14 then
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.setCursorPos(2,6)
- print("Wylacz komputer ")
- term.setCursorPos(2,7)
- print("Uruchom ponownie")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>2 and x<15 and y == 2 then os.shutdown() end
- if x>2 and x<15 and y == 3 then os.reboot() end
- end
- if x>0 and x<10 and y == 18 then term.clear() term.setCursorPos(1,1) error("") end
- if x>0 and x<17 and y == 15 then term.setCursorPos(1,2) print("Wpisz nazwe pliku")
- term.setCursorPos(1,3)
- write("")
- program = read()
- if fs.exists(program) then
- shell.run(program)
- else print("Blad")
- sleep(2)
- end end
- if x>0 and x<10 and y == 17 then
- local image2 = paintutils.loadImage("/os/.programy")
- paintutils.drawImage(image2, 1, 1)
- term.setTextColor(colors.white)
- term.setCursorPos(1,1)
- print("Programy")
- term.setTextColor(colors.black)
- term.setBackgroundColor(colors.white)
- term.setCursorPos(3,7)
- print("LuaIDE")
- term.setCursorPos(10,7)
- print("Paint")
- term.setCursorPos(17,8)
- print("2048")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>2 and x<7 and y>2 and y<7 then term.setCursorPos(1,9) write("Wpisz nazwe pliku: ") plik = read() shell.run("/os/.luaide", plik) end
- if x>9 and x<16 and y>2 and y<7 then term.setCursorPos(1,9) write("Wpisz nazwe pliku: ") paint = read() shell.run("paint", paint) end
- if x>16 and x<24 and y>2 and y<7 then shell.run("/os/.2048") end
- end
- 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
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.setCursorPos(1,1)
- print("Ustawienia")
- term.setCursorPos(3,6)
- print("Zmien nazwe komputera")
- term.setCursorPos(3,8)
- print("Uruchom ponownie z dyskietki")
- term.setCursorPos(3,10)
- print("Informacje o komputerze")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x>2 and x<20 and y == 6 then term.setCursorPos(3,6) write("Wpisz nowa nazwe: ") nazwa = read() os.setComputerLabel(nazwa) end
- if x>2 and x<20 and y == 8 then if fs.exists("/disk/startup") then os.reboot() else print("Blad stacji, badz plik /disk/startup nie istnieje.") end end
- if x>2 and x<20 and y == 10 then shell.run("/os/.info") end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement