Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- w,h=term.getSize() function main() paintutils.drawFilledBox(1,1,w,3,colours.blue) paintutils.drawFilledBox(1,4,w,h,colours.white) term.setTextColour(colours.white) term.setBackgroundColour(colours.blue) term.setCursorPos(2,2) term.write("= pro.design") mainWait() end; function mainWait() while true do local a,b,c=os.pullEvent() if a=="mouse_up"and b>=1 and b<=3 and c>=1 and c<=3 then break end end;menu() end;function menu() for d=1,19,1 do term.setTextColour(colours.white) term.setBackgroundColour(colours.blue) paintutils.drawFilledBox(d,1,d,h,colours.blue) term.setCursorPos(1,2) term.write(" x pro.design":sub(1,d)) term.setCursorPos(1,5) term.write(" Example 1":sub(1,d)) term.setCursorPos(1,8) term.write(" Example 2":sub(1,d)) term.setCursorPos(1,11) term.write(" Example 3":sub(1,d)) term.setCursorPos(1,14) term.write(" Example 4":sub(1,d)) term.setCursorPos(1,17) term.write(" Example 5":sub(1,d)) term.setCursorPos(1,h) term.write(" pro.design C rock":sub(1,d)) sleep(0) end;menuWait() end;function menuWait() while true do local a,b,c=os.pullEvent() if a=="mouse_up"and b>=1 and b<=3 and c>=1 and c<=3 then break end end;main()end;main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement