Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Declare Variables
- local args = {...};
- local _side = args[1];
- local _length = args[2];
- local _width = args[3];
- local _height = args[4];
- local _isDone = false;
- --End Variables
- local function SmartDig(l, w, h)
- while not _isDone do
- for a=1, l do
- print("Length: "..a);
- for b=1, w do
- print("Width: "..b);
- _isDone = true;
- end
- end
- end
- end
- --Main
- SmartDig(_length, _width, _height);
- --End Main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement