local module = require(game:GetService("ReplicatedStorage"):WaitForChild("ModuleScript")) --replace with your module if typeof(module) ~= "table" then warn("Expected a table from ModuleScript. Check its return value.") return end local function inspect(tbl, level) level = level or 0 local indent = string.rep(" ", level) for key, value in pairs(tbl) do print(indent .. key, "=", value, "(" .. typeof(value) .. ")") if typeof(value) == "table" then inspect(value, level + 1) elseif typeof(value) == "function" then local ok, result = pcall(value) if ok then if typeof(result) == "table" then print(indent .. " Function returned a table:") inspect(result, level + 2) else print(indent .. " Function returned:", result) end else print(indent .. " Function call failed.") end end end end print("Module contents:") inspect(module)