Advertisement
TheRolfFR

time

Feb 18th, 2020
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local thread = require("thread")
  2. local realtime = require("realtime")
  3. local os = require("os")
  4.  
  5. time = ""
  6.  
  7. thread.create(function()
  8.   while true do
  9.     time = os.date("%H:%M:%S",realtime.time())
  10.  
  11.     os.sleep(0.5)
  12.   end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement