Function Dumper [ROBLOX]


*local function is_synapse_function(func)
local func_env = getfenv(func)
return func_env and func_env.syn and true or false
end

local garbage_collector = getgc()

for index, value in ipairs(garbage_collector) do
if type(value) == "function" and not is_synapse_function(value) then
print("Function Name:", tostring(value))
print("Function Source:", debug.getinfo(value).source)
print("-------------------------------")
end
end