@rbxts/attribute
v1.0.0
Published
A small attribute manager for Roblox TS.
Downloads
31
Readme
@rbxts/attribute
A small attribute manager for Roblox TS.
import { Attributes } from "@rbxts/attribute"
const MyPart = new Instance("Part")
const AttributeManager = new Attributes(MyPart, {
Speed: 52
})
AttributeManager.GetAttributeChangedSignal("Speed").Connect((Speed: number) => {
print(`My new speed is ${Speed}!`)
})