Advertisement
DeathOfTime

160816~old day of minecraft clock(CC mod)

Aug 16th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local m1 = peripheral.find("monitor")
  2. m1.clear()
  3. m1.setTextScale(2)
  4.  
  5. while true do
  6.   local t1 = os.time()
  7.   local d1 = os.day()
  8.   local f1 = textutils.formatTime(t1, false)
  9.  
  10.   m1.setCursorPos(1,2)
  11.   m1.write("   The Time is: "..f1)
  12.   m1.write(" On day "..d1)
  13.   os.sleep( 1 )
  14.   m1.clear()
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement