Advertisement
Mackan90096

Untitled

Mar 28th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local args={...}
  2.  
  3. local commandTable={
  4. timebomb=function(time)
  5. time=tonumber(time)
  6. if not time then time=10 end
  7. local clock=os.clock()
  8. local timeclock=clock
  9. while os.clock()-timeclock<=time do
  10. --print("HurDeyHar")
  11. pcall(function()
  12. while true do
  13. local g=math.pi^2
  14. if os.clock()-clock>=5 then clock=os.clock() os.queueEvent("") coroutine.yield() end
  15. --if os.clock()-timeclock<=time then return true end
  16. end
  17. end)
  18. end
  19. end
  20. }
  21.  
  22. commandTable.timebomb()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement