Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stringTime = ""
- intTime = 0
- screen = peripheral.wrap("left")
- while true do
- shell.run("clear")
- screen.setTextScale(4)
- screen.setCursorPos(2, 3)
- intTime = os.time()
- stringTime = textutils.formatTime(intTime, true)
- if intTime < 10.000 then
- stringTime = "0" .. stringTime
- end
- print(stringTime)
- sleep(4)
- end
Advertisement
Add Comment
Please, Sign In to add comment