I am making a tycoon, and I have humanoid model, and I want the six parts of the body's color to be the same as the six drop colors. I have done many scripts, but none of them work. Here is my current one:

-- Head

colorvalue = script.Parent.Parent.Parent.Parent.DropColor

while true do
	script.Parent.Color = colorvalue.Value
	wait(0.5)
end

--// Please put your code within code blocks yourself in the future; in the question editor all you have to do is click the blue button and put your code between the lines.

-- colorvalue selects the drop color -- the script is located inside "Head" -- I set the head color to colorvalue

2 comments

0

What type of value is colorvalue?

0

It is a string value that has a script copy a color of a block into it. It works fine, but the player model wont accept the change.