Attribute

A named value you attach to any instance with SetAttribute and read with GetAttribute.

Think of it as A sticky note on an instance.

Attributes hold simple values (numbers, strings, booleans, Vector3, Color3 and a few more). Set on the server, they replicate to clients with the instance, and GetAttributeChangedSignal fires when one changes. A client's own SetAttribute stays on that client.

Where the picture breaks

Notes only travel down: a client that writes a note changes its own copy and the server never sees it; and only a few value types fit on a note.

Attributes are typed key-value pairs on an instance. Server writes replicate to clients; client writes stay local. They suit small state such as a phase or a health value, not tables or instances.

See it with the rest of the analogy cast

Official reference: create.roblox.com

Related terms