This will not work because the Color3.new function requires 3 numeric parameters, not one string. In order to achieve this, using the table you have provided, feel free to use the added function below:
local Variables = {
"0.986007, 0, 0.0538186",
"0.133196, 0.328206, 0.998352",
"0.16817, 0.789593, 0.182605",
"0.985275, 0, 0.720073",
"0.99765, 0.875898, 0.0387579",
"0.988525, 0.358038, 0.0314183",
"0.48365, 0, 0.998444",
}
local function convert(str)
local spl = string.split(str, ", ")
for i,c in pairs(spl) do spl[i] = tonumber(c) end
return table.unpack(spl)
end
gui.TextColor3 = Color3.new(convert(Variables[math.random(1,#Variables)]))
Just so you’re aware a color channel to 2 decimal places is essentially the same as a color channel to 6 decimal places (at least in respect to the naked eye).