Advertisement
Protocol_

sleep

Sep 20th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.10 KB | None | 0 0
  1. function Sleep(length)
  2.     local start = os.clock()
  3.     while os.clock() - start < length do end
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement