0

# How do I change the color of someone's character parts? [closed]

Shawnyg 4251
7 years ago

I've been trying multiple ways of doing this, yet I never get it right.

game.Players.PlayerAdded:connect(function(player)
character["Left Arm"].BrickColor = BrickColor.new("Really black")
character["Right Arm"].BrickColor = BrickColor.new("Really black")
character["Right Leg"].BrickColor = BrickColor.new("Really black")
character["Left Leg"].BrickColor = BrickColor.new("Really black")
character["Torso"].BrickColor = BrickColor.new("Really black")
end)
end)

0
I've already tried doing it through BodyColors Shawnyg 4251 — 7y
0
Did you try removing the BodyColors object altogether, then changing the colors of the parts? User#11893 186 — 7y
0
Just tried that. I used the WaitForChild Method and I destroyed it. Lines 3-8 came after it but it made me look like the ROBLOX noob. Shawnyg 4251 — 7y
0
go to Menu CLick on characters and scrol down tawfeeq2007 -7 — 3y
0
Try my way. DogHouseForMe 0 — 1y
0
Just tested it, doesn't work. DogHouseForMe 0 — 1y

### Locked by JesseSong

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

0

It's possible that the BodyColors object is overwriting the colors you set there. You can either remove this object from the character, or modify the object itself.

0
nate890 495
7 years ago

I don't see any problems in the code. I believe the problem that you are experiencing is, quite simply, an issue with the CharacterAdded event firing before all the body parts are loaded. To fix this issue, I would simply add a wait after the CharacterAdded event,

game.Players.PlayerAdded:connect(function(player)
wait(1) -- Wait for parts within the character to load
for _, child in pairs(character:GetChildren()) do
if child:IsA("BasePart") then
child.BrickColor = BrickColor.new("Really black")
end
end
end)
end)


If that doesn't fix it, I would refer to Kenetec's post.

0

I recommend doing this script first then make that script second to make it work

game.Players.PlayerAdded:connect(function(Plr)
end)



(Its the appearance that takes there cloths and shirts + Hats off witch makes the BodyColros show)

0

Guys, I found the solution. Though I didn't test it yet.

game.Players.PlayerAdded:Connect(function(player)
if character ~= nil then
--- Put code here.
end
end)
end)


It probably doesn't work though.

character["Head"].BrickColor = --What you want here..