I’m currently working on a system that allows you to equip accessories via a UI menu and then display the character in a viewport frame. Although when attempting to equip the rig with a hat, it does not fit until another accessory is equipped.
I’ve seen other topics explain that the rig needs to be parented to the workspace then parented back to the frame, which works, but only once another accessory is equipped. As seen below,
Here is the client code for handling equipping:
uiItem.Equip.MouseButton1Click:Connect(function()
local accessory = game.ReplicatedStorage.Events.LoadItem:InvokeServer(item.id)
rig.Parent = workspace
--accessory.Parent = workspace
accessory.Parent = rig
wait(1)
rig.Parent = ui.Frame.Avatar.ViewportFrame.WorldModel
end)