Advertisement
Eshkation-

Untitled

Oct 28th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. local timer = os.time()
  2. local delay = 4
  3.  
  4. function eventLoop()
  5.     if timer < os.time()-(delay*1000) then
  6.         timer = os.time()
  7.         -- seu codigo aqui
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement