Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function screen()
- local data = fs.open(".minecraft/config/background", "r")
- if data then
- term.setBackgroundColor(tonumber(data.readAll()))
- data.close()
- end
- shell.run("clear")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(2,2)
- for f=0,15 do
- for f2=0,47 do
- write(" ")
- end
- term.setBackgroundColor(colors.black)
- if f<1 then
- local data = fs.open(".minecraft/config/background", "r")
- if data then
- term.setBackgroundColor(tonumber(data.readAll()))
- data.close()
- end
- end
- print(" ")
- local data = fs.open(".minecraft/config/background", "r")
- if data then
- term.setBackgroundColor(tonumber(data.readAll()))
- data.close()
- end
- write(" ")
- term.setBackgroundColor(colors.white)
- end
- local data = fs.open(".minecraft/config/background", "r")
- if data then
- term.setBackgroundColor(tonumber(data.readAll()))
- data.close()
- end
- write(" ")
- term.setBackgroundColor(colors.black)
- for f=0,47 do
- write(" ")
- end
- end
- screen()
- term.setCursorPos(46,3)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- write("2/3")
- term.setBackgroundColor(colors.white)
- term.setCursorPos(3,3)
- term.setTextColor(colors.lightGray)
- write("> Design ")
- term.setTextColor(colors.gray)
- write("> Name ")
- term.setTextColor(colors.lightGray)
- term.setCursorPos(3,5)
- textutils.slowWrite("Choose your name.")
- term.setCursorPos(3,6)
- textutils.slowWrite("They want to use their premium")
- term.setCursorPos(3,7)
- textutils.slowWrite("account or a cracked account?")
- term.setCursorPos(3,9)
- textutils.slowWrite("Premium = Internet function")
- term.setCursorPos(3,10)
- textutils.slowWrite("Cracked = Offline")
- term.setCursorPos(3,16)
- term.setTextColor(colors.gray)
- term.setBackgroundColor(colors.lightGray)
- textutils.slowWrite(" ")
- term.setCursorPos(3,16)
- textutils.slowWrite(" Back ")
- term.setCursorPos(29,16)
- textutils.slowWrite(" ")
- term.setCursorPos(29,16)
- textutils.slowWrite(" Cracked ")
- term.setCursorPos(3,10)
- term.setCursorPos(40,16)
- textutils.slowWrite(" ")
- term.setCursorPos(40,16)
- textutils.slowWrite(" Premium ")
- term.setCursorPos(3,10)
- while true do
- local event, btn, mouseX, mouseY = os.pullEvent("mouse_click")
- if mouseX >= 3 and mouseX <= 8 and mouseY == 16 then
- shell.run(".minecraft/bin/labyos/setup/a")
- break
- end
- local event, btn, mouseX, mouseY = os.pullEvent("mouse_click")
- if mouseX >= 29 and mouseX <= 39 and mouseY == 16 then
- shell.run(".minecraft/bin/labyos/setup/step3")
- break
- end
- local event, btn, mouseX, mouseY = os.pullEvent("mouse_click")
- if mouseX >= 40 and mouseX <= 48 and mouseY == 16 then
- shell.run(".minecraft/bin/labyos/setup/step3r")
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement