local x, y = 1,4 local x2, y2 = 1,6 local x3, y3 = 1,8 local x4, y4 = 1,10 local x5, y5 = 1,12 local x6, y6 = 1,14 local choice1 = "[ ] Options " local choice2 = "[ ] Emotional Error " local choice3 = "[ ] Program Error " local choice4 = "[ ] Upgrade Computer " local choice5 = "[ ] Disclaimer " local choice6 = "[ ] S.B.R. " term.clear() term.setCursorPos(1, 1) term.setTextColor(colors.lightGray) print("--------------------------") print("---") term.setTextColor(colors.lightBlue) term.setCursorPos(4, 2) print("Bubble Bot Computers") term.setTextColor(colors.lightGray) term.setCursorPos(24, 2) print("---") print("--------------------------") local function drawMenu() sleep(.1) term.setCursorPos(x, y) term.setTextColor(colors.white) write(choice1) term.setCursorPos(x2, y2) write(choice2) term.setCursorPos(x3, y3) write(choice3) term.setCursorPos(x4, y4) write(choice4) term.setCursorPos(x5, y5) write(choice5) term.setCursorPos(x6, y6) write(choice6) end drawMenu() while true do local event, button, cx, cy = os.pullEvent() if event == "mouse_click" then if cx >= x and cx < choice1:len() and cy == y and button == 1 then term.clear() term.setCursorPos(1, 1) term.setTextColor(colors.white) shell.run("options") elseif cx >= x2 and cx < choice2:len() and cy == y2 and button == 1 then term.clear() term.setCursorPos(1, 1) textutils.slowPrint("Keep your chin up") sleep(2) textutils.slowPrint("It'll get better I promise") sleep(2) textutils.slowPrint("1.800.273.8255") sleep(2) textutils.slowPrint("If it gets worse call this") sleep(1) textutils.slowPrint("Listen to some Yellowcard") sleep(2.5) textutils.slowPrint("They're a great/happy band") sleep(2.5) textutils.slowPrint("or blink182, they are") sleep(.5) textutils.slowPrint("fucking brilliant") sleep(3) textutils.slowPrint("Anyway") sleep(2.5) textutils.slowPrint("Stay strong, mate") sleep(3) term.setCursorPos(19, 10) term.setTextColor(colors.red) textutils.slowPrint("<3") sleep(15) term.setTextColor(colors.white) print("Returning to menu...") sleep(5) shell.run("help") elseif cx >= x3 and cx < choice3:len() and cy == y3 and button == 1 then term.clear() term.setCursorPos(1, 1) print("Please inform Robot Bubble") sleep(3) shell.run("help") elseif cx >= x4 and cx < choice4:len() and cy == y4 and button == 1 then term.clear() term.setCursorPos(1, 1) print("Speak to Bubble") sleep(5) shell.run("help") elseif cx >= x5 and cx < choice5:len() and cy == y5 and button == 1 then term.clear() term.setCursorPos(1, 1) textutils.slowPrint("The following programs") textutils.slowPrint("were NOT developed by") textutils.slowPrint("Robot Bubble") sleep(5) term.clear() term.setCursorPos(1, 1) print("Chat - JDU4wJxX") print("Calculator - 0wkqTE1A") print("Notes - mga8qSsW") print("2048 - xyGMBBBk") print("Stackerz - HC1MjHVq") print("ReactionTime - WLHFC6v6") print("TypeTest - AH002ptP") sleep(20) shell.run("help") elseif cx >= x6 and cx < choice6:len() and cy == y6 and button == 1 then term.clear() term.setCursorPos(1, 1) term.setTextColor(colors.white) print("sbrgaming.com") sleep(5) shell.run("help") end end end