Advertisement
Guest User

Untitled

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