Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(47, 1)
- time = 16
- time2 = time-1
- time1 = time+1
- stateN = 1
- for i = 1, 10 do
- if stateN == 1 then
- state = ':'
- end
- if stateN == 0 then
- state = ' '
- end
- result = tostring(time1)..state..tostring(time2)
- write(result)
- stateN = stateN - 1
- sleep(1)
- term.clearLine()
- term.setCursorPos(47, 1)
- result = tostring(time1)..state..tostring(time2)
- write(result)
- stateN = stateN + 1
- term.clearLine()
- term.setCursorPos(47, 1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement