-
What do you want to achieve? I am trying to make a gui’s color equal to a random color from a table (which I made = to a string value) now I want to make that = to a gui’s backgrouncolor3
-
What is the issue? I have no idea how to do it
-
What solutions have you tried so far? Yes everywhere
The main script for changing it
function findBricks(ColorParts)
local ChosenColor = BrickColors[math.random(1, #BrickColors)]
for _,v in pairs(ColorParts:GetDescendants()) do
if v:IsA("BasePart") and v.BrickColor ~= BrickColor.new(ChosenColor) then
v.Transparency = 1
v.CanCollide = false
end
ColorValue.Value = ChosenColor
end
end
(The string value does change)