Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Customization Script not working. Why is Body Color Changing to white?

BTW FilteringEnabled is on

r15 character

Here is my code:

script.Parent.MouseButton1Click:Connect(function()
	local player = game.Players.LocalPlayer
	local char = game.Workspace:WaitForChild(player.Name)

	char.BodyColors.HeadColor = BrickColor.new(255, 204 , 153)
	char.BodyColors.LeftArmColor = BrickColor.new(255, 204 , 153)
	char.BodyColors.LeftLegColor = BrickColor.new(255, 204 , 153)
	char.BodyColors.RightArmColor = BrickColor.new(255, 204 , 153)
	char.BodyColors.RightLegColor = BrickColor.new(255, 204 , 153)
	char.BodyColors.TorsoColor = BrickColor.new(255, 204 , 153)
end)

Why isnt it turning to pastel brown

1 answer

✓ Accepted answer

BrickColor.new doesn't take RGB as arguments, use a string instead.

char.BodyColors.HeadColor = BrickColor.new("Pastel brown") -- Do this for all of them

You can also do

char.BodyColors.HeadColor3 = Color3.new(255, 204 , 153) -- Whatever RGB numbers would equal Pastel brown

This discussion is preserved as it was. New answers, comments, and votes are closed.