How can I make UGC hairs look normal?

image
when I insert a player’s hair to the starter character UGC hairs look like this, roblox hairs look normal though.

wait()
local player = game.Players:GetPlayerFromCharacter(script.Parent)
local char = game.Players:GetCharacterAppearanceAsync(player.UserId)


for i,v in pairs(char:GetDescendants()) do
	if v.Name == "HairAttachment" then
		local hair = v.Parent.Parent
		hair.Parent = script.Parent
	end
end

I believe you have to use Humanoid:AddAcessory() to correctly attach hats to the character, I ran into a similar problem before.

1 Like

Oh, alright, thanks for helping!