wait(1)
for i,v in pairs(script.Parent:GetChildren()) do
if v.ClassName == "TextButton" then
v.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Parent.Parent.DropColor.Value = v.Name
end)
end
end
I get an error that says that at line 5 it got a Name while it was expecting a BrickColor, however the Name is the name of a BrickColor... Is there anyway to convert it?
