local voting_stand = game.workspace.Lobby:WaitForChild("Voting_Stand").Stands:GetChildren()
local map = 1
for i = 1, #voting_stand do
if # maps_picked ~= 0 then
local set = require(maps_picked[map].Map_Settings)
voting_stand[i].Icon.id.Value = set.icon
print(set.display_name)
voting_stand[i].Title.Title_Gui.Title_Text.Text = (set.Display_Name)
map = map + 1
end
end
end
when im changing the text it says its nil even though there is no way its nil

3 comments
Edited for code block, please explain what you're trying to do/what the script is supposed to do.
Line 4, You have "# maps...", if you want size of table, use "#maps...". So the print statement on Line 7 is giving the nil result?
Workspace.Main_Script:8: bad argument #3 to 'Text' (string expected, got nil)