I was making some customizer for fun, but the hair will change color, and the text won't change to the brickcolor's name?
local hair = game.Workspace.NPC.Hair.Handle local haircolor = hair.BrickColor.Name local value = game.Workspace.Wood.ColorName local hairtext = game.Workspace.Wood.SurfaceGui.Frame.Hair script.Parent.MouseButton1Click:connect(function() value.Value = haircolor hairtext.Text = value.Value hair.BrickColor = BrickColor.Random() value.Value = haircolor hairtext.Text = value.Value end)
I think you problem is in line 2. A property of a part doesn't have a name. If you just leave it as hair.BrickColor then it'd be using the part's brickColor which is what you want. Also, in line 6 and 9 if you had changed line 2 to what I've said, then value.Value would be a BrickColor value.