Advertisement
cronoise

burgers

Apr 5th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. local monitor=peripheral.wrap('back')
  2. local texta = 'HOME OF THE BLOCKER!'
  3. local textb = 'Hamburger *** Cheeseburger *** Deluxe Cheeseburger *** Blocky Fries *** Blueberry Smoothie *** Delighted Meal'
  4.  
  5. while true do
  6.  
  7. monitor.clear()
  8. monitor.setTextScale(1.6)
  9. monitor.setCursorPos(1,1)
  10. monitor.setTextColor(colors.white)
  11. monitor.write(texta)
  12. sleep(0.1)
  13.    local width, heigth = monitor.getSize()
  14.    for x=width, -#textb, -1 do
  15.     monitor.setCursorPos(x,3)
  16.     monitor.clearLine(3)
  17.     monitor.setTextColor(colors.orange)
  18.     monitor.write(textb)
  19.   sleep(0.1)
  20.  end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement