for loop doesn't iterate throught all elements lua code example
Example: lua loop through table
local Table = {'Cat', 'Dog', 'Bird'}
for i, v in pairs(Table) do
print(i .. ' ' .. v)
end
local Table = {'Cat', 'Dog', 'Bird'}
for i, v in pairs(Table) do
print(i .. ' ' .. v)
end