local Color = player.PlrStats.BodyColor.Value
BodyColor.HeadColor3 = Color3.fromRGB(Color)
BodyColor.LeftArmColor3 = Color3.fromRGB(Color)
BodyColor.RightArmColor3 = Color3.fromRGB(Color)
BodyColor.LeftLegColor3 = Color3.fromRGB(Color)
BodyColor.RightLegColor3 = Color3.fromRGB(Color)
BodyColor.TorsoColor3 = Color3.fromRGB(Color)
for i, v in pairs(newCharacter.RightHand:GetDescendants()) do
if v:IsA("BasePart") then
v.Color = Color3.fromRGB(Color)
end
end
for i, v in pairs(newCharacter.LeftHand:GetDescendants()) do
if v:IsA("BasePart") then
v.Color = Color3.fromRGB(Color)
end
end
Hello, when this script runs, it turns the players bodycolors to all black, but the value for it isnt black
Someone else on a discord server told me to do this, and it prints the color its supposed to be. Apparently it has to actually be numbers to be a color in the script, but since its a variable, its just black, i dont know how to fix it
so the Color value gives you numbers or a string? If its a string could you write it down. It is possible to use strings as BrickColor.new(). But it has to be a valid member of that pallet type.
I can tell you that that part of the script has nothing to do with it, the script doesnt even get to those like before setting the rest of the body to black, i do have an error i can show you if i do this
BodyColor.HeadColor3 = Color3.fromRGB(Color)
this is the error
Unable to assign property Color. Color3 expected, got string
I’m not sure why it’s not working. I searched for reasons on why it may happen and it’s because when you change the appearance of the character for something else again, it will reset the Body Colors to black. Are you sure you don’t change any related appearance later on?