How do I get all of an objects attributes

Is it possible to get a table of attributes from an object?
I want to make a class conversion module so I can convert classes via code at runtime.

Its as simple as this:

local YourPart = script.Parent
local Attributes = YourPart:GetAttributes()
2 Likes