#Accessories won't attach to character.

1 messages · Page 1 of 1 (latest)

mystic lance
#

I'm making a character customisation system. To change the players hair they press a button which clones the accessory and then uses Humanoid:AddAccessory(). When I do this the welds are not created and the hair just falls off/through the character.

I already tried researching the issue but the only thing that I've seen is to ensure all the right attachments are in places however this doesn't seem to be the problem.

#

I'm sending images in a second.

#

The attachments for the hair and character's head.

#

The code

#

The handle is not anchored and can collide is on as well.

#

And adding accessories to the actual player still works, just not dummies.

normal grotto
#

I think you shouldn't set the hair.Parent to equal workspace as roblox automatically creates welds if stuff are in workspace

stone basin
#

@mystic lance
If the required Attachment can not be found, then the Accessory will remain parented to the humanoid's parent but it will be unattached.

#

humanoid's parent is referring to the character

#

which in this case CustomisationDummy

#

so you need to make an attachment on the character and name it the same thing as the attachment on the accessory.Handle i suppose?

gleaming moon
#

Is not even closer humanoid head area

mystic lance
mystic lance
#

AddAcessory automatically parents it regardless.

mystic lance
mystic lance
mystic lance
mystic lance
#

Confused what you are trying to say

mystic lance
mystic lance
#

Found some weird workaround where i just add the accessory on the server then make it invisible for the other players.