Hello everyone, I am making character customization and when I did it with hair It well… The video speaks for itself.
Sometimes the hair aligns and sometimes it doesn’t.
Script that handles the hair :
Events.Customize.OnServerEvent:Connect(function(plr,acc,num)
if acc and num then
if acc == "Hair" then
if CharacterCustomization[acc]:FindFirstChild(num) then
local MeshId = CharacterCustomization[acc]:FindFirstChild(num).MeshId
Character.Hair.Mesh.MeshId = MeshId
end
end
end
end)
There is a part called Hair inside of the character which has the size of 2,2,2. Help would be appreciated
Sadly, yeah. But if you dont really wanna do that, ill explain abit of a longer way:
On the catalog, search for the hair that you used ingame.
If you have the bt roblox extension, go on the item’s page, and download it (as an rbxm).
Then go on studio and insert that file into workspace (i think you know how, just right click on workspace and insert it from file or smth like that)
And there, that hair is now fixed.
if acc == "Hair" then
if CharacterCustomization[acc]:FindFirstChild(num) then
Character:FindFirstChild("Hair"):Destroy()
local clone = CharacterCustomization[acc]:FindFirstChild(num):Clone()
clone.Name = "Hair"
Character.Humanoid:AddAccessory(clone)
end
end