Changing the hat position doesnt do so? I am trying to build a copy of the character and put it in a view frame for a GUI experiment. However if I can’t change the hats positions locally, when welded to the character they look like this:
How can I change the position of the hat locally so that I can get it to work with the character. It used to be a feature but now Roblox removed it and its broken a lot of elements in my game.
Maybe you could make a part in the position you want the hat to be, then weld the hat to that part?
perhaps having the hats already ready and pre-positioned and just parenting it between characters would be a little work-around.
the problem explained by an admin:
This is because Accessory welds are currently created on the server only, never the client. This is intended right now but we might change it to make this easier to work with when using FilteringEnabled.
Here is some code you can use to add an Accessory to a humanoid locally:
function weldAttachments(attach1, attach2)
local weld = Instance.new("Weld")
weld.Part0 = attach1.Parent
weld.Part1 = attach2.Parent
weld.C0 = attach1.CFrame
weld.C1 = attach2.CFrame
weld.Parent = …
can you use
CFrame or use the value
Offset from the mesh object
Wassup big man marcus, I had this issue earlier, this is the simple way I use to fix accessory not positioning to it’s attachment via client (if you need it that simple way ykno):
local accessoryWeld = Instance.new("Weld")
accessoryWeld.Name = "AccessoryWeld"
accessoryWeld.Part0 = YOUR_ACCESSORY_HANDLE
accessoryWeld.Part1 = LIMB_TO_ATTACH_TO
accessoryWeld.C0 = accessoryWeld.Part0.ATTACHMENT_NAME.CFrame
accessoryWeld.C1 = accessoryWeld.Part1.ATTACHMENT_NAME.CFrame
accessoryWeld.Parent = accessoryWeld.Part0