Advertisement
Guest User

startup

a guest
Jan 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local time = os.time()
  2. local monitor = peripheral.wrap("bottom")
  3. local function getTime()
  4.   monitor.clear()
  5.   monitor.setTextScale(4)
  6.   monitor.setCursorPos(2, 2)
  7.   monitor.write(textutils.formatTime( os.time(), true))
  8.   sleep(0.75)
  9.   end
  10. while true do
  11.   getTime()
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement