Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top") -- replace "left" with the side your monitor is on
- mon.setTextScale(20) -- change 5 to any any number between 0.5 and 5 to change the size of the text
- while true do
- mon.clear()
- mon.setCursorPos(1,1)
- local nTime = os.time()
- mon.write(textutils.formatTime(nTime,false))
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement