So, right now it's a joint question. I wanted to know if you can use the comma's to make the local equal to a certain thing. For example:
local HeadshotDmg, LimbDmg, TorsoDmg = multipleArray(Settings.Damage, 3)
If so, my next question would be how would I end up doing this? This is what I got so far:
function multipleArray(array, amount)
local values = {}
for i, v in pairs(array) do
print(array[i])
-- Probably somewhere for the return over here
end
end

3 comments
..Lastly, why in the second code, are you using 'array[i]'? It is not necessary with that kind of 'for' loop; the Variable 'v' specify's the Current Child that is in the 'Table'.
The thing about it is that whenever I try to return anything (may it be v), it sets to nil. The array[i] part and values table were parts that I did use before while testing what could work or not. When it returns 'v' for the first time, it will not send anything else back.