Class
Accessory
An item that a Character can wear.
The Accessory Instance is the parent Instance of all accessories (regardless of their specific accessory type). It typically has a child Handle with a child Attachment and a WrapLayer in the case of Layered Clothing.
The Accessory class is the successor to the legacy Hat system. It's cross-compatible with both the legacy R6 character system and the new R15 character system.
If you insert an Attachment into the Accessory's Handle with the same
name as an Attachment in one of the character's limbs, they connect
and ignore properties inherited from the Accoutrement class.
Otherwise, the Accessory functions identically to a Hat.
Note: If there are two matching Attachments, the resulting Weld is a
child of the Accessory's Handle. This differs from the legacy behavior of Hats
where the Weld is always a child of the Head of the character.
Properties 1#
AccessoryTypeAccessoryType | Specifies the AccessoryType of the Accessory (eg. Hat, Tshirt, Waist).ReadSafe |
AccessoryType: AccessoryType#
ReadSafe
Specifies the AccessoryType of the Accessory. Is
AccessoryType.Unknown unless you equip the Accessory
through the player spawning process or
Humanoid:ApplyDescriptionAsync(). If available on the Marketplace,
you can set AccessoryType to categorize the Accessory item (for
example, "Hat" or "Face").
Inherited members#
Inherited from Accoutrement 5
Properties (5)
AttachmentForward, AttachmentPoint, AttachmentPos, AttachmentRight, AttachmentUp
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild