local includeNumbers = false -- use true if the key system has numbers for _, tables in ipairs(getgc(true)) do if typeof(tables) == "table" then for k, v in pairs(tables) do if tostring(k):lower() == "key" then if typeof(v) == "table" then for i, value in pairs(v) do if typeof(value) == "table" then continue end if not includeNumbers and typeof(value) == "number" then continue end print("Key =", value) end else if typeof(v) == "table" then continue end if not includeNumbers and typeof(v) == "number" then continue end print("Key =", v) end end end end end