So, I have this Character Customization System now I’m in the Hair stage now, it works but the hair is not aligned and it’s not connected to the dummy. it should be intact with the head because it contains HairAttachment inside. You will see the problem in the video.
Another info, I already modified their HairAttachment position values on Studio 1 by 1. I thought it would be replicate as I cloned them and put them in the dummy, but it’s not.
This is my method:
if HolderValue.Value ~= #HairTable then
HolderValue.Value += 1
local newAsset = HairTable[HolderValue.Value].Value:Clone()
print(newAsset)
newAsset.Parent = CharacterDummy
elseif HolderValue.Value == #HairTable then
HolderValue.Value = 1
local newAsset = HairTable[HolderValue.Value].Value:Clone()
newAsset.Parent = CharacterDummy
end
Sorry for my bad English this is not my first language.
Sorry for the bad quality of the video, it’s just my device is not that good and my recorder is the roblox studio.
I usually make a dictionary which includes the ItemName along with it’s bodyPart and CFrame offset. Then I put it to the bodyPart’s CFrame, and apply that offset in the table, make a weldConstraint and weld the accessory.
(In your case the offset would be CFrame.new(0,-0.3,0) approximately.)
After all, My only solution is adding WeldConstraint in the Accessory.Handle to the Dummy’s head. Works perfectly fine now!
Thanks to @KazabiteBoltiz for the idea and thanks to @Creeperman16487 for another way of parenting a cloned accessory to a humanoid instead of using ClonedAccessory.Parent = Dummy