Advertisement
suxonov

Untitled

Jun 2nd, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. seconds = 20
  2.  
  3. ui.addTextArea(0, 'Here is your text', nil)
  4.  
  5. function eventLoop()
  6.     seconds = seconds - 0.5
  7.     if seconds == 0 then
  8.         ui.updateTextArea(0, 'Wow! Updated', nil)
  9.     end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement