3D Clothing help pls?

I’m making an outfit game, but roblox recently added the 3d clothes, how can I get the jackets ID? example below

local humDesc = script.Parent.Parent.Parent.Parent.Parent.Parent:WaitForChild("a")
local BackA= humDesc.BackAccessory
local TabBack = string.split(BackAccessory, ",");

for _,v in pairs(TabBack) do
	if v ~= "" then
		wait(0.02)
		local newBut = but:Clone()
		newBut.Parent = script.Parent.Parent.ScrollingFrame
		newBut.Value.Value = v
		print(v)
	end
end;

image

Sorry, currently humanoid descriptions dont have layered clothing. We’ll just have to wait. Sorry bud

1 Like

Hi! So sorry for the late reply. Recently, I had the same issue as you. You can get the Id by using :GetAccessories()

local Accessories = humDesc:GetAccessories(false)
local JacketId = Accessories[1].AssetId

Using GetAccessories on the Humanoid Description gives you a list of each Accessory and some info about them like AccessoryType, AssetId, IsLayered, and Order

The false is one of the parameters. If set to false it will ignore accessories like hats, hairs, etc. True will include them

Hope this helps.
Also, heres the documentation on it HumanoidDescription | Roblox Creator Documentation