local b=Enum:GetEnums()local W={}for b,z in b do for b,z in z:GetEnumItems()do table.insert(W,z)end end return{run=function(b)for W,z in W do if z.Value==b.value and z.Name==b.name then return z end end return nil end}
local enums = Enum:GetEnums()
local enumItems = {}

for _, enum in enums do
	for _, enumItem in enum:GetEnumItems() do
		table.insert(enumItems, enumItem)
	end
end

return {
	run = function(serializedEnumItem)
		for _, enumItem in enumItems do
			if
				enumItem.Value == serializedEnumItem.value
				and enumItem.Name == serializedEnumItem.name
			then
				return enumItem
			end
		end

		return nil
	end,
}
