Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you change humanoid body colors based on values located elsewhere? [CLOSED]

Asked by 7 years ago
Edited 7 years ago

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

0
What type of value is colorvalue? Pyrondon 2089 — 7y
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. rebot333 40 — 7y

Answer this question