I'm working on a Morphroom with a GUI that allows for the player to input a custom VertexColor. The issue now is that the Values arnt changing.
In studio I've manually changed R,G,B to see if the whole script works. It does somewhat except the values arnt changing.
Display.Click.MouseClick:Connect(function(player)
local HairColor = player.DATA_.HairColor
local R = HairColor.Red.Value
local G = HairColor.Green.Value
local B = HairColor.Blue.Value
local colorstring = tostring(Vector3.new(R,G,B))
print(colorstring)
Display.SurfaceGui.Vertex.Text = tostring(Vector3.new(R,G,B))
end)
It keeps coming out as 1,1,1 even if I changed R,G, or B. Is there something I'm doing wrong or missing?

3 comments
Why are you using Vector3.new on the color values?
Its for the meshes. The hairs have a translucent texture so I just have to change the Vertex Color instead of having a bunch of different textures for different colors.
It works for me. What is printing out for the line "print(colorstring)"? What happens when you hardcode the values with R= 0.3, G = 0.3, B = 0.5?