Help: BodyColors not loading onto StarterPlayer model

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.
Screen Shot 2020-09-17 at 3.08.02 PM

Explorer path

Screen Shot 2020-09-17 at 3.07.48 PM

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.

Put the humanoid in the player model.
Body colors won’t be applied if there’s no humanoid in the same model they’re parented to.

1 Like

Sorry for the late reply, couldn’t try it out as I had no access to a computer
It doesn’t work, still grey.

Yes, I gave the player life but it didn’t thank me with bodyColors.

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

Relevant reply by CloneTrooper1019

1 Like

Where do I put the Script? 3O chars

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.

1 Like