I need to somehow irritate through the properties of an instance.
A method sort of like this:
Instance:GetProperties()
-- it returns an array of all the properties, consider adding it to the instance class
Also, I need a way of identifying a userdata.
i.e:
local value = UDim2.new()
print(type(value)) -- prints 'userdata'
print(tostring(value)) -- prints '0,0,0,0'
print(value.identifyer) -- errors, need something to print 'UDim2'
-- consider adding a c function to get it, or maybe add a property like the example has
Please support, this is so my replication system will work smoothly.
|