Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- term.redirect(mon)
- mon.setTextScale(2)
- while true do
- local time = os.time()
- local formattedTime = textutils.formatTime(time, false)
- term.clear()
- term.setCursorPos(1,1)
- print(formattedTime)
- sleep(0.1)
- end
Add Comment
Please, Sign In to add comment