Guest User

Untitled

a guest
Aug 24th, 2019
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon = peripheral.wrap("top") -- replace "left" with the side your monitor is on
  2. mon.setTextScale(20) -- change 5 to any any number between 0.5 and 5 to change the size of the text
  3. while true do
  4. mon.clear()
  5. mon.setCursorPos(1,1)
  6. local nTime = os.time()
  7. mon.write(textutils.formatTime(nTime,false))
  8. sleep(1)
  9. end
RAW Paste Data