
KeylessUniversal

-- DEX-like Tree ASCII → .txt dengan Properties
-- Support: Delta, Solara, Trigon, Electron, dll (selama ada writefile)
local MarketplaceService = game:GetService("MarketplaceService")
local function getGameName()
local ok, res = pcall(function()
return MarketplaceService:GetProductInfo(game.PlaceId).Name
end)
return ok and res or "UnknownGame"
end
local filename = string.format("DEX_Tree_%s_%s.txt", getGameName(), os.date("%Y%m%d_%H%M%S"))
local lines = {}
local icons = {
branch = "├─ ",
last = "└─ ",
indent = "│ ",
prop = " ▸ "
}
-- Fungsi untuk mendapatkan properties yang penting
local function getProperties(obj)
local props = {}
local success, _ = pcall(function()
-- Properties umum yang berguna
local propList = {
"Position", "Size", "CFrame", "Transparency",
"BrickColor", "Material", "Anchored", "CanCollide",
"Text", "TextColor3", "BackgroundColor3", "Font",
"Image", "ImageId", "Texture", "TextureId",
"Value", "Volume", "PlaybackSpeed", "SoundId",
"MeshId", "Scale", "Offset",
"Health", "MaxHealth", "WalkSpeed", "JumpPower",
"Enabled", "Visible", "Parent"
}
for _, propName in ipairs(propList) do
local ok, val = pcall(function()
return obj[propName]
end)
if ok and val ~= nil then
local valStr = tostring(val)
-- Batasi panjang string
if #valStr > 50 then
valStr = valStr:sub(1, 47) .. "..."
end
table.insert(props, propName .. " = " .. valStr)
end
end
end)
return props
end
local function buildTree(obj, prefix, isRoot)
-- Header object
if isRoot then
table.insert(lines, "🎮 " .. obj.ClassName .. " | " .. obj.Name)
else
table.insert(lines, prefix .. obj.ClassName .. " | " .. obj.Name)
end
-- Tambahkan properties
local props = getProperties(obj)
if #props > 0 then
for _, prop in ipairs(props) do
table.insert(lines, prefix .. icons.prop .. prop)
end
end
-- Scan children
local children = obj:GetChildren()
for i = 1, #children do
local isLast = (i == #children)
local newPrefix = prefix .. (isLast and " " or icons.indent)
buildTree(children[i], newPrefix, false)
end
end
-- Header file
table.insert(lines, "═══════════════════════════════════════════════════")
table.insert(lines, " DEX EXPLORER TREE WITH PROPERTIES")
table.insert(lines, " Game: " .. getGameName())
table.insert(lines, " Date: " .. os.date("%Y-%m-%d %H:%M:%S"))
table.insert(lines, "═══════════════════════════════════════════════════")
table.insert(lines, "")
buildTree(game, "", true)
writefile(filename, table.concat(lines, "\n"))
print("✅ Tree dengan properties tersimpan sebagai: " .. filename)
print("📊 Total baris: " .. #lines)
![[KEYLESS] Moondiety Script | 17+ supported Games](https://scriptblox.com/images/sb/0-1753093706828.png)


https://grok.com/share/c2hhcmQtNQ%3D%3D_490d8ae7-60cd-41bc-87c0-c05c5b3afce9
https://grok.com/share/c2hhcmQtNQ%3D%3D_8b1effe3-2cd6-44de-b438-3d3b794d2095
https://grok.com/share/c2hhcmQtNQ%3D%3D_0cf37e12-6d60-4678-b54e-22a9d2e6bd5d
https://grok.com/share/c2hhcmQtNQ%3D%3D_81a569a8-316c-47ae-b5da-37187c36c3fd