Hello! I am making a avatar editor (kind of royale high). I ran into a problem where i dont know how to get the player’s character’s accessory’s assetId. all i know is the contentId, but i dont know how to get the ID
New ContentId format for easy thumbnail loading - Updates / Announcements - DevForum | Roblox
character.ChildAdded:Connect(function(child)
if child:IsA("Accessory") then
local itemFrame = buttonsContainer.itemFrame:Clone()
itemFrame.Parent = script.Parent --frame
itemFrame:FindFirstChild("TextLabel").Text = child.Name
itemFrame.ImageLabel.Image = "https://www.roblox.com/asset-thumbnail/image?assetId="..[ASSET ID].."width=420&height=420&format=png" --URL to get the thumbnail
end
end)