Hi, simple question.
I’m writing a script to show the winner of a game on a dummy. While it applies body colors and clothes, it doesn’t apply my hat.
The code:
I have seen a million posts related to this. Now its official ApplyDescription() does NOT apply accessories you need to do it manually by ig cloning submit either a bug report of ig feature request to do this IF the viewer of this reply is a regular.
uhhhhhhhhhhhhhhhhhhhhhh ok so. uhhhhhhhhhhhhhhhhhhhhhhh mmmmmmmmmmmmmm you can find what type of accessory it is by going to the handle of it and finding the attachment name then do
local accessory = -- path to accessory
local char = -- path to the character
local att = char:FindFirstChild(accessory.Handle:FindFirstChildOfClass("Attachment").Name,true)
attachment idk. I am not that good. what i think you should do is get offset then cframe the thing at the attachments world position and add offset if any is possible.
Super late but it is likely loading in the accessories but they are simply loading inside of the character so you cannot see them. If the Dummy is especially large, instead of just increasing its size in Studio, change the Scale properties of the HumanoidDescription. This will scale the hats and accessories with the rest of the model.
local Dummy = workspace.Dummy
local Humanoid = Dummy.Humanoid
local Description = game.Players:GetHumanoidDescriptionFromUserId(1)
Description.HeadScale = 3
Description.DepthScale = 3
Description.WidthScale = 3
Description.HeightScale = 3
Humanoid:ApplyDescription(Description)