just as it says in the title how can i get the property changed signal of an attribute ?
1 Like
You can achieve this using :GetAttributeChangedSignal(āattributeā) (If what you mean is detecting when the attribute of something changes).
Example:
local part = Instance.new("Part") -- create a new part
part:SetAttribute("color",Color3.fromRGB(100,100,100)) -- Set an attribute named color
part:GetAttributeChangedSignal("color"):Connect(function() --Detect if the "color" attribute changes
--Do something
end)
1 Like
That worked thank you very much i dont know how i missed that lol
1 Like
No problem! We can all make simple mistakes at times
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.