In Roblox Studio, is it a good and safe practice to use character attributes (e.g., via SetAttribute
) for storing and quickly accessing gameplay-related data, such as health buffs or skill states?
yeah, usually, its absolutely fine, though i would recommend changing them only on the server so the client cant really do anything.
Alternatively, you can use values, but for what your describing, attributes are better.
1 Like
Thank you for reply! I will use if for states like “IsInventoryOpened” and other.
1 Like