Advertisement
KroNixZ

Monitor Clock

Nov 26th, 2023
909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local monitor = peripheral.wrap("top")
  2. monitor.setCursorPos(1,1)
  3. monitor.setTextScale(1.5)
  4. while true do
  5. x=os.time()
  6. monitor.setCursorPos(1,1)
  7. monitor.write(x)
  8. sleep(0.1)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement