my friend is using this line of code to apply a humanoid description but all the hats are all messed up!

function game.ReplicatedStorage.ChangeCharacter.OnServerInvoke(player, id) 
    local dummy = workspace.Dummy

    local newHumanoidDescription = game.Players:GetHumanoidDescriptionFromUserId(id)

    dummy.Humanoid:ApplyDescription(newHumanoidDescription)
    
    return true
end

https://i.imgur.com/tH8RCqS.png this is not how my avatar looks like normally...