Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --startup config
- slc = 0
- backColor = colors.white
- term.setBackgroundColor(backColor)
- term.clear()
- --functions|
- -- V
- function applicationslist()
- applist = paintutils.loadImage("/tde/program")
- paintutils.drawImage(applist, 2, 2)
- term.setCursorPos(4, 18)
- write(" Back ")
- term.setCursorPos(3, 5)
- write(">_")
- end
- --button-home-touch= [Y1=16 X1=1] [Y1=18 X2=14]
- --terminal-touch= [Y1=1 X1=1] [Y2=5 X2=9]
- --redstone-touch= [Y1=1 X1=11] [Y2=5 X2=20]
- --pictures-touch= [Y1=1 X1=23] [Y2=5 X2=31]
- applicationslist()
- while true do
- local event, button, X, Y = os.pullEventRaw()
- if slc == 0 then
- if event == "mouse_click" then
- if X >=1 and X <=14 and Y >=16 and Y <=19 and button ==1 then slc = 0
- shell.run("pastebin run nCN4nL7A")
- elseif X >=2 and X <=10 and button == 1 and Y >=2 and Y <=5 then slc = 0
- shell.run("pastebin run AK50tpr8")
- shell.run("pastebin run nCN4nL7A")
- term.setTextColor(colors.white)
- shell.run("pastebin run nCN4nL7A")
- elseif X >=12 and X <=21 and button == 1 and Y >=2 and Y <=6 then slc = 0
- shell.run("pastebin run zatzDfJr")
- shell.run("pastebin run nCN4nL7A")
- elseif X >=24 and X <=32 and button == 1 and Y >=2 and Y <=6 then slc = 0
- shell.run("pastebin run b0ru1L6Z") --painter
- shell.run("pastebin run nCN4nL7A")
- elseif X >=27 and X<=46 and button == 1 and Y >=2 and Y <=7 then slc = 0
- shell.run("/ccYoutube")
- shell.run("pastebin run nCN4nL7A")
- elseif X >=2 and X <=14 and Y >=8 and Y <=14 and button == 1 then slc = 0
- shell.run("pastebin run vyAZc6tJ")
- shell.run("pastebin run nCN4nL7A")
- else
- applicationslist()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement