Advertisement
MonschTHEGAME

Minecraft Ingame Clock

Jan 24th, 2017
4,584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. monitor = peripheral.wrap("back")
  2. term.redirect(monitor)
  3. term.setBackgroundColor(colors.white)
  4. term.setTextColor(colors.black)
  5.  
  6. while true do
  7. sleep(0)
  8. monitor.clear()
  9. term.setCursorPos(1,1)
  10. write("World Time")
  11. monitor.setTextScale(4)
  12. term.setCursorPos(2,2)
  13. write(" " .. textutils.formatTime(os.time(), true))
  14. end
  15. term.restore()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement