
3.3k Views
390 Executions
Deep Lau Table Viewer
Universal Script π
QurenFirst script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Created By Quren (Discord: fuckyougitler) - Allows saving results to a text file for large tables - Recursively prints table contents to the console - Sorts keys: numeric in ascending order, then non-numeric alphabetically, tables last - Formats output as a tree with prefixes (β, βββ, β²) - Displays key, value, and data type for non-table values - Supports nested tables with indentation for clarity
--[[
Created By Quren (Discord: fuckyougitler)
]]
function readTable(tbl, saveToFile, forcedPrint, tblName)
maxLines = 500 -- Maximum output (without saving the file) is <<500>> lines with all existing lines stay in console.
tblName = tblName or "UnNamed"
local buffer = {}
local function generateOutput(tbl, prefix)
if type(tbl) ~= "table" then
table.insert(buffer, {type = 'print', text = "Value: " .. tostring(tbl)})
return
end
prefix = prefix or ""
local numValueKeys, otherValueKeys, tableKeys = {}, {}, {}
for k, v in pairs(tbl) do
if type(v) == "table" then
table.insert(tableKeys, k)
elseif type(k) == "number" then
table.insert(numValueKeys, k)
else
table.insert(otherValueKeys, k)
end
end
table.sort(numValueKeys) -- numbers sort
table.sort(otherValueKeys) -- letters sort
table.sort(tableKeys, function(a, b) return tostring(a) < tostring(b) end) -- tables sort
local sortedKeys = {}
for _, k in ipairs(numValueKeys) do table.insert(sortedKeys, k) end
for _, k in ipairs(otherValueKeys) do table.insert(sortedKeys, k) end
for _, k in ipairs(tableKeys) do table.insert(sortedKeys, k) end
for i, key in ipairs(sortedKeys) do
local value = tbl[key]









@wjGQiwhUsbUsi9 By that logic, every FPS unlocker, auto-clicker, or even Discord overlay should get people banned. Roblox doesnβt care about harmless tools, and neither should you. Go find a real problem.
@wjGQiwhUsbUsi9 You are currently sitting on the Roblox scripting platform and I see one script in your profile, it's not for you to talk about Roblox TOS.
@wjGQiwhUsbUsi9 Okay, so what? Is there any law prohibiting me from making and uploading this script?
@YellowGreg These beefs are gonna drive me crazy soon
there's beef in the comments willd
how does notes make the code more readable dumbas ur just making the code more messier and not organizing your overfilling notes and it's a * dump stop getting so triggered over something
No? Because idk why your complaining over a scirpt that doesn't even matgee