Need to find a method to make sure that events such as the changed event only fire on the last change when fired in bulk.
local part = Instance.new("Part");
part.Changed:connect(function(prop) print("last prop changed", prop); end);
part.Name = "Brick";
part.Transparency = 0.5;
part.CanCollide = true;
-- Ideally the changed event would only fire on the last change, so CanCollide.
I'll probably have to look into my wrapper and see if I can work some meta-table magic. I can think of some potential solutions by using tick(), but that seems like it'd be prone to error. Then again, I suppose as long as the next change comes later than 1/60th of a second all should be fine.
Currently the events are "over firing".
Need to find a method to make sure that events such as the changed event only fire on the last change when fired in bulk.
I'll probably have to look into my wrapper and see if I can work some meta-table magic. I can think of some potential solutions by using tick(), but that seems like it'd be prone to error. Then again, I suppose as long as the next change comes later than 1/60th of a second all should be fine.