module inspector
Key RequiredUniversal

module inspector

Universal Scriptbarconbarcon 3.2K views 17 executesUpdated Dec 21, 2024
5.0/ 5(2 votes)
20100% Positive
Lua Script•34 lines (895 chars)
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)

Features & Information

Check if the module is a table. Prints the keys and values. Calls functions and shows what they return. Adds more indentation for nested tables.

Community Comments (6)

OmVaxOmVaxDec 21, 2024(edited)

how does it work sorry i dont get it

dotggdotggDec 21, 2024(edited)

👍👍

BroSploitBroSploitJan 16, 2025(edited)

this is chatgpt

BroSploitBroSploitJan 16, 2025(edited)

it would probably be useful for low level executors that doesn't have decompiles other than less its just useless

barconbarconJan 16, 2025(edited)

@BroSploit can you tell me how to know if the script is AI or not?

BroSploitBroSploitJan 16, 2025(edited)

@barcon I'm just assuming.. Its just that most people on this website has a Iq under 60%

More Scripts for Universal Scripts