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.