Hello, Im making a plugin and the script i use to get the color theme of their studio is not working.
script:
local function syncGuiColors(objects)
local function setColors()
for _, guiObject in pairs(objects) do
guiObject.BackgroundColor3 = settings().Studio.Theme:GetColor(Enum.StudioStyleGuideColor.MainBackground)
guiObject.TextColor3 = settings().Studio.Theme:GetColor(Enum.StudioStyleGuideColor.MainText)
end
end
setColors()
settings().Studio.ThemeChanged:Connect(setColors)
end
Well, can you hover over it so I can see what it says, also I ran the exact same function myself just to test and it worked, I don’t think the answer to your problem is within the function.