I think this is the place to put this…
I’m making a custom player, my problem is that the body colors don’t load.
Explorer path
Any help please?
I have tried parenting the Humanoid to the Model, but that didn’t work.
I have also investigated further, and it seems the bodyColor is destroyed on loading of the character.
In my experience, body colors work quite oddly, which means you have to use some work arounds.
You can use some old code by CloneTrooper1019 to apply colors to the body parts:
local function applyBodyColors(character,bodyColors)
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
for _,v in pairs(character:GetChildren()) do
if v:IsA("BasePart") then
local limb = humanoid:GetLimb(v)
local limbName = limb.Name
if limbName ~= "Unknown" then
local propertyName = limbName .. "Color"
local brickColor = bodyColors[propertyName]
v.BrickColor = brickColor
end
end
end
end
end
How you implement is up to you.
It’s simply a function that takes the character and the body colors object and then uses that information to apply the body colors.
I’d suggest the script that controls your custom player model.