How would I create a variable with a different name, every time a loop runs?
Example:
for i = 1,#Items do
local Item..i = Items[i]
end
This will not work, for obvious reasons, but how can I achieve this?
Or do I just have to manually type out all the variable names? |