Hello! I am trying to set stuff in a table, however it isn’t working.
local Content = {
ButtonColor = {NewQuestion.Next.BackgroundColor3, NewQuestion.Back.BackgroundColor3},
NormalTextFont = {NewQuestion.HowTo.Font},
ButtonTextFont = {NewQuestion.Next.Font, NewQuestion.Back.Font, NewQuestion.HowTo.Font},
GeneralTextColor = {NewQuestion.Question.TextColor3, NewQuestion.HowTo.TextColor3},
TitleTextFont = {NewQuestion.Question.Font, }
}
for ContentType, TheContentToModify in pairs(Content) do
if ThemeSettings[ContentType] == nil then
for TheTable, Modify in pairs(TheContentToModify) do
Modify = Customizer[ContentType]
end
else
for _, Modify in pairs(TheContentToModify) do
Modify = ThemeSettings[ContentType]
end
end
end
Instead, it just remains the defaults in a script.
How can I accomplish this. If you have an answer, let me know. Thanks! WE