I just need help setting the position of the accessories. Here is the block where I cycle through the character and filter and clone it’s accessories:
for i, v in pairs(Character:GetChildren()) do
if v:IsA("Accessory") then
if v.AccessoryType == Enum.AccessoryType.Hair or v.AccessoryType == Enum.AccessoryType.Face then
local newAccessory = v:Clone()
newAccessory.Anchored = true
newAccessory.Parent = stage.Hazmat.HeadClonePosition
end
end
end
I’m not a fan of moving it, because everyone’s accessories are in different places. Like there are face accessories, facemasks and glasses aren’t in the same position.
Elaborate. Moving it shouldn’t cause any problems unless there’s a problem before cloning it, regarding the position(s) of the part(s), which is not really something you can fix unless you move them yourself first.
If you’re going to do it serverside, I suggest you use AddAccessory()
It’s an inbuilt function in Roblox Lua.
It doesn’t work on the client, so if you are going to use it on the client, I suggest you weld it
to the characters head instead.