Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. --Declare Variables
  2. local args = {...};
  3.  
  4. local _side = args[1];
  5. local _length = args[2];
  6. local _width = args[3];
  7. local _height = args[4];
  8.  
  9. local _isDone = false;
  10. --End Variables
  11.  
  12. local function smartDig(l, w, h)
  13. while not _isDone do
  14. for a=1, l do
  15. print(a);
  16. _isDone = true;
  17. end
  18. end
  19. end
  20.  
  21. --Main
  22. smartDig(_length, _width, _height);
  23. --End Main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement