SHARE
TWEET

glasses

a guest Mar 15th, 2015 225 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. glass = peripheral.wrap("right")
  2. function addBox()
  3.  glass.addBox(1,1,80,10,0xFFFFFF,0.2)
  4. end
  5. function timeDis()
  6.  time = textutils.formatTime(os.time(), false)
  7.  glass.addText(5,2,"TIME: " .. time, 0xFF0000)
  8. end
  9. function start()
  10.  while true do
  11.   glass.clear()
  12.   addBox()
  13.   timeDis()
  14.   sleep(0.1)
  15.  end
  16. end
  17. start()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top