I have a command line of code:
data = {}
for i = 1, 64 do
table.insert(data, i, tostring(BrickColor.new(i)))
print(BrickColor.new(pos + 1))
end
print('local table = {"'..table.concat(data, '", "')..'"}')
It runs without error. But. What it gives me is really odd.
local table= {"White", "Grey", "Light yellow", "Medium stone grey", "Brick yellow", "Light green (Mint)", "Medium stone grey", "Medium stone grey", "Light reddish violet", "Medium stone grey", "Pastel Blue", "Light orange brown", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Nougat", "Medium stone grey", "Medium stone grey", "Bright red", "Med. reddish violet", "Bright blue", "Bright yellow", "Earth orange", "Black", "Dark grey", "Dark green", "Medium green", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Lig. Yellowich orange", "Bright green", "Dark orange", "Light bluish violet", "Transparent", "Tr. Red", "Tr. Lg blue", "Tr. Blue", "Tr. Yellow", "Light blue", "Medium stone grey", "Tr. Flu. Reddish orange", "Tr. Green", "Tr. Flu. Green", "Phosph. White", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey", "Medium stone grey"}
I have no idea why it returns "Medium stone grey" so often. I have testing just changing the brickcolor to BrickColor.new(i) and it still repeats medium stone grey. There is also colors I don't remeber like "Transparent" (Bright white when I tested) and "Tr. Red" and such. Please help me understand why this is happening?

1 comment
print(#data) > 64