Hello all,

We are making changes in the next few weeks to the ROBLOX avatar and want to give you a heads up so you can update your games!

Client Changes

1) Hats -> Accessories

All hats in the catalog will have their in-game class changed from “Hat” to “Accessory”. Accessory is a class that supports attaching to many points on the character, instead of always being attached to the head.

If you have scripts that check:

if obj.ClassName == "Hat" or obj:IsA("Hat") ,

these will not handle accessories properly. You should update your scripts to use obj:IsA(“Accoutrement”). Accoutrement is the base class that both Hat and Accessory inherit from, so this will handle both Hats and Accessories. For example, most games have a script that cleans up dropped hats after a certain amount of time. You will need to update those scripts to handle Accessories.

If you need to attach or remove Accessories from your character with Lua, see the Accessory wiki page.

Another thing to note: If two matching Attachments are found the resulting Weld will be a child of the Handle of the Accessory. This differs from the legacy behavior of Hats where the Weld is always a child of the Head of the character.

2) Body Parts R6/R15 Split

It used to be that all body parts (right arm, right leg, left arm, left leg) were composed of a single CharacterMesh that was pasted into the character. To support R15, the format is changing.

The existing body part assets will be updated a new format composed of two Folder objects named R6 and R15. If you have a game that allows inserting of body parts, you may have to tweak your scripts to support both the folder format, and the old format of a single CharacterMesh.

Web Changes

We will be splitting up Hats into a number of different “accessory” types on the website, like Shoulder Accessory, Hair Accessory, Waist Accessory, etc. If you have a game or Chrome extension or website, keep that in mind. These new types will show up on the Trade page, Avatar page, Inventory page, and catalog. This means that you will see items disappearing from your “Hats” and moving into other categories. Hats will also be labeled as “Accessory | Hat” in some places where they used to be labeled “Hat.”

Related Links

http://wiki.roblox.com/index.php?title=R15_Compatibility_Guide

http://wiki.roblox.com/index.php?title=API:Class/Accoutrement

http://blog.roblox.com/2016/09/the-r15-avatar-is-here/

http://blog.roblox.com/2016/05/stuck-on-you-roblox-avatars-get-attachment-objects/