Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- shell.run("/Laby/Desktop")
- term.setTextColor(colors.white)
- term.setBackgroundColor(512)
- sleep(0)
- term.setCursorPos(1,19)
- term.setBackgroundColor(colors.green)
- write(" Menu ")
- term.setBackgroundColor(colors.blue)
- write(" ")
- term.setBackgroundColor(colors.blue)
- function Zeit()
- pzeit = os.time()
- pzeit = textutils.formatTime(pzeit, true)
- return pzeit
- end
- while true do
- term.setCursorPos(46,19)
- write(""..Zeit())
- write(" ")
- sleep(0.1)
- break
- end
- sleep(0.1)
- term.setCursorPos(1,1)
- term.setTextColor(colors.white)
- term.setBackgroundColor(colors.blue)
- write(" Meine Dateien ")
- term.setBackgroundColor(colors.red)
- write("X")
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print("[+] ")
- term.setCursorPos(1,2)
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- shell.run("programs")
- while true do
- local event, button, X, Y = os.pullEvent("mouse_click")
- XY = X..","..Y
- if XY == "2,19" and button == 1 then
- shell.run("/Laby/Start")
- break
- end
- if XY == "3,19" and button == 1 then
- shell.run("/Laby/Start")
- break
- end
- if XY == "4,19" and button == 1 then
- shell.run("/Laby/Start")
- break
- end
- if XY == "51,1" and button == 1 then
- term.setTextColor(colors.white)
- shell.run("/Laby/Gast")
- break
- end
- if XY == "5,19" and button == 1 then
- shell.run("/Laby/Start")
- break
- end
- if XY == "2,18" and button == 1 then
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- term.setCursorPos(1,15)
- write("Run:")
- run = read()
- term.setTextColor(colors.black)
- shell.run(run)
- sleep(1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(1,1)
- term.setTextColor(colors.red)
- print(" Use BACK for Desktop")
- term.setTextColor(colors.white)
- term.setCursorPos(1,2)
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- term.setCursorPos(1,2)
- shell.run(run)
- term.setTextColor(colors.black)
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement