Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
time = 0
function updateUI()
print('Time: ' .. time .. ' sec')
end
function tick()
time = time + 1
updateUI()
end
-- Simulate actions
updateUI()
tick()
tick()Coding works best on desktop or with an external keyboard.