Decoding and Encoding Roblox Attributes in rbxmx

I’ve recently encountered a scenario where I need to be able to write to attributes from an external program, such as Python code. Opening an .rbxmx file reveals that there is a line under <Properties> that looks like this:

<BinaryString name="AttributesSerialize"></BinaryString>

Between the <BinaryString> tags, there is encoded text that can look something like this: AQAAAAYAAABfdmFsdWUCBAAAAHRlc3Q= (varies depending on the attribute(s))

Does anyone know how I could write to an attribute from an external program like some Python code by editing the AttributesSerialize field under <Properties>?

I was not able to figure it out myself as there is very little information on how Roblox encodes and decodes attributes.

1 Like

checkout this: Rojo: rbx dom

Over two years later and I just uncovered this because I need to do the same, using base64 you can decode these but they arent tables and I cant figure out how make attributes with base64