search/
Start typing to search packages!
package_2
attributes-typed
By @thehehfocus
Roblox
Mirrored from WallyRoblox attributes turned into lightweight tables. With type support.
Has replication and batching.
(Works on any replicatable value as well, not just instances.)
Usage:
local BetterAttributes = require(game.ReplicatedStorage.BetterAttributes)
local baseplate = workspace:WaitForChild("Baseplate")
local Type = BetterAttributes.RegisterType({
Hello = 1,
blah = true,
okok = {
no = false
}
})
Type.AttributeChanged(baseplate, function(attribute, value)
print(attribute, value)
end, Type.A.Hello) -- Listen to any "Hello" attribute change.
task.wait(3)
Type.SetAttribute(baseplate, Type.A.Hello, 5)
Type.SetAttribute(baseplate, Type.A.Hello, true) -- Will typeerror since 'Hello' attribute is a number.
Package Details
Install command (Click to copy)
Version
0.1.0
License
MIT
Safe for commercial use
The package archive does not include its license text; the license is declared in its manifest metadata.
Automated license review — not legal advice.
