local ContentProvider = game:GetService("ContentProvider") local ReplicatedStorage = game:GetService("ReplicatedStorage") local ReplicatedFirst = game:GetService("ReplicatedFirst") local Lighting = game:GetService("Lighting") local MaterialService = game:GetService("MaterialService") local SoundService = game:GetService("SoundService") local StarterPack = game:GetService("StarterPack") local CollectionService = game:GetService("CollectionService") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Stats = game:GetService("Stats") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local lp = Players.LocalPlayer or Players:WaitForChild("LocalPlayer") local env: {[string]: any} = (typeof(getfenv) == "function" and getfenv()) or (_G :: any) local setclip = env.setclipboard local gethui = env.gethui local hookmeta = env.hookmetamethod local getncm = env.getnamecallmethod local setncm = env.setnamecallmethod local newcc = env.newcclosure local iscaller = env.checkcaller local loadstr = env.loadstring _G.TrackerLoadedAssetIds = _G.TrackerLoadedAssetIds or {} local cfg = { batchSize = 25, debounce = 0.15, tweenTime = 0.18, minW = 460, minH = 230, maxW = 940, maxH = 680, maxRows = 65, } local theme = { bg = Color3.fromRGB(15, 17, 21), panel = Color3.fromRGB(22, 25, 31), card = Color3.fromRGB(28, 31, 39), border = Color3.fromRGB(40, 44, 54), text = Color3.fromRGB(241, 245, 249), sub = Color3.fromRGB(148, 163, 184), dim = Color3.fromRGB(90, 98, 115), accent = Color3.fromRGB(56, 189, 248), accentBg = Color3.fromRGB(18, 36, 48), green = Color3.fromRGB(52, 211, 153), greenBg = Color3.fromRGB(20, 38, 28), yellow = Color3.fromRGB(251, 191, 36), red = Color3.fromRGB(248, 113, 113), } local assetTypes: {[string]: {label: string, cat: string}} = { MeshPart = { label = "Mesh", cat = "Mesh" }, SpecialMesh = { label = "Mesh", cat = "Mesh" }, Decal = { label = "Decal", cat = "Image" }, Texture = { label = "Texture", cat = "Image" }, SurfaceAppearance = { label = "PBR Material", cat = "Image" }, Sound = { label = "Audio", cat = "Audio" }, Animation = { label = "Animation", cat = "Anim" }, ImageLabel = { label = "UI Image", cat = "Image" }, ImageButton = { label = "UI Image", cat = "Image" }, ParticleEmitter = { label = "VFX Particle", cat = "Image" }, Beam = { label = "VFX Beam", cat = "Image" }, Trail = { label = "VFX Trail", cat = "Image" }, Sky = { label = "Skybox", cat = "Image" }, Shirt = { label = "Clothing", cat = "Image" }, Pants = { label = "Clothing", cat = "Image" }, ShirtGraphic = { label = "Graphic", cat = "Image" }, } local state = { total = 0, done = 0, files = 0, recovered = 0, failed = {} :: {{id: string, name: string, fullName: string, assetType: string, contentId: string, inst: Instance?, reason: string, retries: number}}, failedSeen = {} :: {[string]: boolean}, catalog = {} :: {{name: string, fullName: string, cat: string, className: string, contentId: string, inst: Instance}}, catalogSeen = {} :: {[Instance]: boolean}, remotes = {} :: {{id: number, remote: Instance, name: string, fullName: string, method: string, dir: string, timeStr: string, args: {any}, preview: string, code: string?, count: number, dirty: boolean, rowCard: Frame?, rowTitle: TextLabel?}}, remotesDirty = false, blocked = {} :: {[Instance]: boolean}, hookOn = false, paused = false, remFilter = "All", filter = "All", expNode = game :: Instance, finished = false, t0 = 0, elapsed = 0, running = false, speed = 0, minimized = false, tab = "monitor", prevTab = "errors", infoMode = "error", winSize = UDim2.new(0, 520, 0, 260), curErr = nil :: any, curAsset = nil :: any, curRemote = nil :: any, curExp = nil :: Instance?, lastRatio = -1, } local function make(class: string, props: {[string]: any}?): any local obj = Instance.new(class) if props then local parent = props.Parent for k, v in pairs(props) do if k ~= "Parent" then (obj :: any)[k] = v end end if parent then obj.Parent = parent end end return obj end local function round(parent: Instance, r: number): UICorner local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, r) c.Parent = parent return c end local function outline(parent: Instance, col: Color3, thick: number?): UIStroke local s = Instance.new("UIStroke") s.Color = col s.Thickness = thick or 1 s.ApplyStrokeMode = Enum.ApplyStrokeMode.Border s.Parent = parent return s end local function copyText(str: string): boolean if typeof(setclip) == "function" then pcall(setclip, str) return true end return false end local cachedGuiParent: Instance? = nil local function getGuiParent(): Instance if cachedGuiParent then return cachedGuiParent end local ok, root = pcall(function() return (typeof(gethui) == "function" and gethui()) or game:GetService("CoreGui") end) if ok and root then local test = pcall(function() local f = Instance.new("Folder") f.Parent = root f:Destroy() end) if test then cachedGuiParent = root return root end end local pg = lp:WaitForChild("PlayerGui") cachedGuiParent = pg return pg end local function isAsset(inst: Instance): boolean return assetTypes[inst.ClassName] ~= nil end local function getTypeLabel(inst: Instance): string local info = assetTypes[inst.ClassName] return info and info.label or inst.ClassName end local function getCategory(inst: Instance): string local info = assetTypes[inst.ClassName] return info and info.cat or "Other" end local function getAssetId(inst: Instance): string local ok, res = pcall(function(): string if inst:IsA("MeshPart") then return inst.MeshId ~= "" and inst.MeshId or inst.TextureID end if inst:IsA("SpecialMesh") then return inst.MeshId ~= "" and inst.MeshId or inst.TextureId end if inst:IsA("Sound") then return inst.SoundId end if inst:IsA("Animation") then return inst.AnimationId end if inst:IsA("Decal") or inst:IsA("Texture") then return inst.Texture end if inst:IsA("ImageLabel") or inst:IsA("ImageButton") then return inst.Image end if inst:IsA("ParticleEmitter") or inst:IsA("Beam") or inst:IsA("Trail") then return inst.Texture end if inst:IsA("Shirt") then return inst.ShirtTemplate end if inst:IsA("Pants") then return inst.PantsTemplate end if inst:IsA("ShirtGraphic") then return inst.Graphic end if inst:IsA("SurfaceAppearance") then return inst.ColorMap end if inst:IsA("Sky") then return inst.SkyboxUp end return "" end) return (ok and typeof(res) == "string") and res or "" end local function shortPath(inst: Instance): string local s = inst:GetFullName() return (#s > 52) and ("..." .. string.sub(s, -49)) or s end local function fmtTime(sec: number): string return string.format("%02d:%02d", math.floor(sec / 60), math.floor(sec % 60)) end local function getTimeStamp(): string return os.date("%H:%M:%S") end local function findWorldTarget(inst: Instance?): Instance? if not inst then return nil end if inst:IsA("BasePart") or inst:IsA("Model") then return inst end local p = inst.Parent while p and p ~= game do if p:IsA("BasePart") or p:IsA("Model") then return p end p = p.Parent end return nil end local espBox: Highlight? = nil local espTag: BillboardGui? = nil local espObj: Instance? = nil local function toggleEsp(inst: Instance?): boolean local target = findWorldTarget(inst) if espBox then espBox:Destroy() espBox = nil end if espTag then espTag:Destroy() espTag = nil end if not target or espObj == target then espObj = nil return false end espObj = target local hl = Instance.new("Highlight") hl.Adornee = target hl.FillColor = theme.accent hl.FillTransparency = 0.65 hl.OutlineColor = Color3.new(1, 1, 1) hl.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop hl.Parent = getGuiParent() espBox = hl local bb = Instance.new("BillboardGui") bb.Adornee = target bb.Size = UDim2.new(0, 160, 0, 26) bb.StudsOffset = Vector3.new(0, 3, 0) bb.AlwaysOnTop = true bb.Parent = getGuiParent() local lbl = make("TextLabel", { Size = UDim2.new(1, 0, 1, 0), BackgroundColor3 = theme.bg, BackgroundTransparency = 0.15, TextColor3 = theme.accent, Font = Enum.Font.RobotoMono, TextSize = 10, Text = target.Name, Parent = bb, }) round(lbl, 4) outline(lbl, theme.accent) espTag = bb return true end local function tpTo(inst: Instance?): boolean local target = findWorldTarget(inst) local char = lp.Character if not target or not char then return false end return pcall(function() if target:IsA("Model") then char:PivotTo(target:GetPivot() * CFrame.new(0, 4, 0)) elseif target:IsA("BasePart") then char:PivotTo(target.CFrame * CFrame.new(0, 4, 0)) end end) end local sfxPlayer: Sound? = nil local animTrack: AnimationTrack? = nil local playingId = "" local function playSfx(id: string): boolean if id == "" then return false end if sfxPlayer and sfxPlayer.IsPlaying and playingId == id then sfxPlayer:Stop() playingId = "" return false end if not sfxPlayer then local s = Instance.new("Sound") s.Name = "DevSuitePreview" s.Volume = 1 s.Parent = SoundService sfxPlayer = s end if sfxPlayer then sfxPlayer:Stop() sfxPlayer.SoundId = id sfxPlayer:Play() playingId = id return true end return false end local function playAnim(id: string): boolean if id == "" then return false end if animTrack and animTrack.IsPlaying and playingId == id then animTrack:Stop() playingId = "" return false end if animTrack then pcall(function() animTrack:Stop() end) animTrack = nil end local char = lp.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum then return false end local animator = hum:FindFirstChildOfClass("Animator") or Instance.new("Animator", hum) local ok, tr = pcall(function() local a = Instance.new("Animation") a.AnimationId = id local t = animator:LoadAnimation(a) t:Play() return t end) if ok and tr then animTrack = tr playingId = id return true end return false end local function getSafeFullPath(inst: Instance): string local cur: Instance? = inst local parts = {} while cur and cur ~= game do table.insert(parts, 1, cur.Name) cur = cur.Parent end return table.concat(parts, ".") end local function dumpVal(v: any, depth: number?): string local d = depth or 0 if d > 2 then return "..." end local t = typeof(v) if t == "string" then local s = string.gsub(v, '"', '\\"') if #s > 80 then s = string.sub(s, 1, 77) .. "..." end return '"' .. s .. '"' elseif t == "number" or t == "boolean" or t == "EnumItem" then return tostring(v) elseif t == "nil" then return "nil" elseif t == "Vector3" then return string.format("Vector3.new(%.2f, %.2f, %.2f)", v.X, v.Y, v.Z) elseif t == "CFrame" then local p = v.Position return string.format("CFrame.new(%.2f, %.2f, %.2f)", p.X, p.Y, p.Z) elseif t == "Color3" then return string.format("Color3.fromRGB(%d, %d, %d)", math.floor(v.R * 255), math.floor(v.G * 255), math.floor(v.B * 255)) elseif t == "Instance" then return "game." .. getSafeFullPath(v) elseif t == "table" then local out = {} local n = 0 for k, val in pairs(v) do n += 1 if n > 8 then table.insert(out, "...") break end local key = (typeof(k) == "string") and (k .. " = ") or ("[" .. tostring(k) .. "] = ") table.insert(out, key .. dumpVal(val, d + 1)) end return "{" .. table.concat(out, ", ") .. "}" end return tostring(v) end local function dumpArgsList(args: {any}): string if #args == 0 then return "(No arguments)" end local lines = {} for i = 1, #args do table.insert(lines, string.format("[%d] (%s): %s", i, typeof(args[i]), dumpVal(args[i], 0))) end return table.concat(lines, "\n") end local function getObjProps(inst: Instance): (string, string) local props = {} local function add(label: string, fn: () -> any) local ok, v = pcall(fn) if ok and v ~= nil then table.insert(props, label .. ": " .. dumpVal(v, 1)) end end if inst:IsA("ValueBase") then add("Value", function() return (inst :: any).Value end) end if inst:IsA("BasePart") then add("Position", function() return inst.Position end) add("Size", function() return inst.Size end) add("Transparency", function() return inst.Transparency end) add("Anchored", function() return inst.Anchored end) add("CanCollide", function() return inst.CanCollide end) add("Material", function() return inst.Material end) add("Color", function() return inst.Color end) elseif inst:IsA("Model") then add("PrimaryPart", function() return inst.PrimaryPart end) add("Pivot", function() return inst:GetPivot() end) elseif inst:IsA("Humanoid") then add("Health", function() return string.format("%.1f / %.1f", inst.Health, inst.MaxHealth) end) add("WalkSpeed", function() return inst.WalkSpeed end) add("JumpPower", function() return inst.JumpPower end) elseif inst:IsA("Sound") then add("SoundId", function() return inst.SoundId end) add("Volume", function() return inst.Volume end) add("TimeLength", function() return string.format("%.2fs", inst.TimeLength) end) add("IsPlaying", function() return inst.IsPlaying end) add("IsLoaded", function() return inst.IsLoaded end) elseif inst:IsA("Animation") then add("AnimationId", function() return inst.AnimationId end) elseif inst:IsA("GuiObject") then add("Visible", function() return inst.Visible end) add("Size", function() return string.format("%dx%d", math.floor(inst.AbsoluteSize.X), math.floor(inst.AbsoluteSize.Y)) end) add("Position", function() return string.format("%d, %d", math.floor(inst.AbsolutePosition.X), math.floor(inst.AbsolutePosition.Y)) end) end local cid = getAssetId(inst) if cid ~= "" then table.insert(props, "ContentId: " .. cid) end local propText = (#props > 0) and table.concat(props, "\n") or "Standard Instance (no extra properties)" local meta = {} local okA, attrs = pcall(function() return inst:GetAttributes() end) if okA and attrs then for k, v in pairs(attrs) do table.insert(meta, string.format("Attr[%s] = %s", tostring(k), dumpVal(v, 1))) end end local okT, tags = pcall(function() return CollectionService:GetTags(inst) end) if okT and tags and #tags > 0 then table.insert(meta, "Tags: " .. table.concat(tags, ", ")) end return propText, (#meta > 0 and table.concat(meta, "\n") or "None") end local function getRemoteCode(log: any): string if log.code then return log.code end local list = {} for i = 1, #log.args do table.insert(list, dumpVal(log.args[i], 0)) end local argStr = table.concat(list, ", ") local path = "game." .. log.fullName local res = (log.method == "OnClientEvent") and string.format("Incoming: %s(%s)", path, argStr) or string.format("%s:%s(%s)", path, log.method, argStr) log.code = res return res end local gui = make("ScreenGui", { Name = "DevAssetSuite", ResetOnSpawn = false, DisplayOrder = 99999, Parent = getGuiParent(), }) local main = make("Frame", { Name = "Main", Size = state.winSize, Position = UDim2.new(0.5, -260, 0.5, -130), BackgroundColor3 = theme.bg, BorderSizePixel = 0, ClipsDescendants = true, Parent = gui, }) round(main, 8) outline(main, theme.border) local topbar = make("Frame", { Name = "Topbar", Size = UDim2.new(1, 0, 0, 36), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = main, }) round(topbar, 8) make("Frame", { Size = UDim2.new(1, 0, 0, 1), Position = UDim2.new(0, 0, 1, -1), BackgroundColor3 = theme.border, BorderSizePixel = 0, Parent = topbar, }) local statusDot = make("Frame", { Size = UDim2.new(0, 7, 0, 7), Position = UDim2.new(0, 12, 0.5, -3), BackgroundColor3 = theme.accent, BorderSizePixel = 0, Parent = topbar, }) round(statusDot, 10) local titleLbl = make("TextLabel", { Size = UDim2.new(0, 78, 1, 0), Position = UDim2.new(0, 25, 0, 0), BackgroundTransparency = 1, TextColor3 = theme.text, Font = Enum.Font.RobotoMono, TextSize = 12, Text = "dev.suite", TextXAlignment = Enum.TextXAlignment.Left, Parent = topbar, }) local navBar = make("Frame", { Size = UDim2.new(1, -142, 0, 22), Position = UDim2.new(0, 104, 0.5, -11), BackgroundColor3 = theme.bg, BorderSizePixel = 0, Parent = topbar, }) round(navBar, 5) outline(navBar, theme.border) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, VerticalAlignment = Enum.VerticalAlignment.Center, Parent = navBar, }) local function makeTabBtn(txt: string, on: boolean): TextButton local b = make("TextButton", { Size = UDim2.new(0.2, 0, 1, 0), BackgroundColor3 = on and theme.card or theme.bg, BackgroundTransparency = on and 0 or 1, TextColor3 = on and theme.text or theme.sub, Font = Enum.Font.GothamMedium, TextSize = 10, Text = txt, BorderSizePixel = 0, Parent = navBar, }) round(b, 5) return b end local tabBtns: {[string]: TextButton} = { monitor = makeTabBtn("Loader", true), errors = makeTabBtn("Errors (0)", false), assets = makeTabBtn("Assets", false), remotes = makeTabBtn("Remotes", false), explorer = makeTabBtn("Explorer", false), } local minBtn = make("TextButton", { Size = UDim2.new(0, 24, 0, 22), Position = UDim2.new(1, -30, 0.5, -11), BackgroundColor3 = theme.bg, BorderSizePixel = 0, TextColor3 = theme.sub, Font = Enum.Font.GothamBold, TextSize = 11, Text = "-", Parent = topbar, }) round(minBtn, 5) outline(minBtn, theme.border) local pages: {[string]: Frame} = {} local function makePage(name: string, vis: boolean): Frame local p = make("Frame", { Name = name, Size = UDim2.new(1, -24, 1, -48), Position = UDim2.new(0, 12, 0, 44), BackgroundTransparency = 1, Visible = vis, Parent = main, }) pages[name] = p return p end local pMonitor = makePage("monitor", true) local pErrors = makePage("errors", false) local pInfo = makePage("info", false) local pAssets = makePage("assets", false) local pRemotes = makePage("remotes", false) local pExplorer = makePage("explorer", false) local progHead = make("Frame", { Size = UDim2.new(1, 0, 0, 22), BackgroundTransparency = 1, Parent = pMonitor }) local pctLbl = make("TextLabel", { Size = UDim2.new(0.35, 0, 1, 0), BackgroundTransparency = 1, Font = Enum.Font.GothamBold, TextSize = 18, TextColor3 = theme.text, Text = "0%", TextXAlignment = Enum.TextXAlignment.Left, Parent = progHead, }) local countLbl = make("TextLabel", { Size = UDim2.new(0.65, 0, 1, 0), Position = UDim2.new(0.35, 0, 0, 0), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 11, TextColor3 = theme.sub, Text = "0 / 0 assets", TextXAlignment = Enum.TextXAlignment.Right, Parent = progHead, }) local progTrack = make("Frame", { Size = UDim2.new(1, 0, 0, 4), Position = UDim2.new(0, 0, 0, 28), BackgroundColor3 = theme.card, BorderSizePixel = 0, Parent = pMonitor, }) round(progTrack, 2) local progFill = make("Frame", { Size = UDim2.new(0, 0, 1, 0), BackgroundColor3 = theme.accent, BorderSizePixel = 0, Parent = progTrack, }) round(progFill, 2) local statusCard = make("Frame", { Size = UDim2.new(1, 0, 0, 52), Position = UDim2.new(0, 0, 0, 42), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = pMonitor, }) round(statusCard, 6) outline(statusCard, theme.border) local curPathLbl = make("TextLabel", { Size = UDim2.new(1, -16, 0, 18), Position = UDim2.new(0, 10, 0, 7), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = "STANDBY", TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = statusCard, }) local curMetaLbl = make("TextLabel", { Size = UDim2.new(1, -16, 0, 16), Position = UDim2.new(0, 10, 0, 26), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 10, TextColor3 = theme.dim, Text = "Queue pending...", TextXAlignment = Enum.TextXAlignment.Left, Parent = statusCard, }) local quickRow = make("Frame", { Size = UDim2.new(1, 0, 0, 26), Position = UDim2.new(0, 0, 0, 102), BackgroundTransparency = 1, Parent = pMonitor, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 6), Parent = quickRow }) local function makeQuickBtn(txt: string): TextButton local b = make("TextButton", { AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.new(0, 0, 1, 0), BackgroundColor3 = theme.panel, BorderSizePixel = 0, TextColor3 = theme.sub, Font = Enum.Font.GothamMedium, TextSize = 10, Text = " " .. txt .. " ", Parent = quickRow, }) round(b, 5) outline(b, theme.border) return b end local qAssetsBtn = makeQuickBtn("Browse Assets (0)") local qRemotesBtn = makeQuickBtn("Remote Spy (0)") local qExpBtn = makeQuickBtn("Instance Explorer") local qClearEspBtn = makeQuickBtn("Clear ESP") local statsRow = make("Frame", { Size = UDim2.new(1, 0, 0, 22), Position = UDim2.new(0, 0, 1, -22), BackgroundTransparency = 1, Parent = pMonitor, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 12), Parent = statsRow, }) local function makeStatChip(txt: string): TextLabel return make("TextLabel", { AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.new(0, 0, 1, 0), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.dim, Text = txt, Parent = statsRow, }) end local chipFps = makeStatChip("FPS --") local chipPing = makeStatChip("0ms") local chipRam = makeStatChip("RAM --") local chipSpeed = makeStatChip("0 obj/s") local chipEta = makeStatChip("ETA --") local chipTime = makeStatChip("00:00") local errSearch = make("TextBox", { Size = UDim2.new(1, -142, 0, 24), BackgroundColor3 = theme.panel, BorderSizePixel = 0, PlaceholderText = "Filter failed assets...", PlaceholderColor3 = theme.dim, TextColor3 = theme.text, Font = Enum.Font.RobotoMono, TextSize = 10, Text = "", ClearTextOnFocus = false, Parent = pErrors, }) round(errSearch, 5) outline(errSearch, theme.border) make("UIPadding", { PaddingLeft = UDim.new(0, 8), Parent = errSearch }) local retryAllBtn = make("TextButton", { Size = UDim2.new(0, 78, 0, 24), Position = UDim2.new(1, -136, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.accent, Font = Enum.Font.GothamMedium, TextSize = 10, Text = "Retry All", Parent = pErrors, }) round(retryAllBtn, 5) outline(retryAllBtn, theme.border) local clearErrBtn = make("TextButton", { Size = UDim2.new(0, 54, 0, 24), Position = UDim2.new(1, -54, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.red, Font = Enum.Font.GothamMedium, TextSize = 10, Text = "Clear", Parent = pErrors, }) round(clearErrBtn, 5) outline(clearErrBtn, theme.border) local errScroll = make("ScrollingFrame", { Size = UDim2.new(1, 0, 1, -32), Position = UDim2.new(0, 0, 0, 32), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = theme.border, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(0, 0, 0, 0), Parent = pErrors, }) make("UIPadding", { PaddingRight = UDim.new(0, 6), Parent = errScroll }) make("UIListLayout", { Padding = UDim.new(0, 5), SortOrder = Enum.SortOrder.LayoutOrder, Parent = errScroll }) local infoHead = make("Frame", { Size = UDim2.new(1, 0, 0, 24), BackgroundTransparency = 1, Parent = pInfo }) local infoBackBtn = make("TextButton", { Size = UDim2.new(0, 54, 1, 0), BackgroundColor3 = theme.panel, BorderSizePixel = 0, TextColor3 = theme.sub, Font = Enum.Font.GothamMedium, TextSize = 10, Text = "Back", Parent = infoHead, }) round(infoBackBtn, 4) outline(infoBackBtn, theme.border) local infoTitle = make("TextLabel", { Size = UDim2.new(1, -64, 1, 0), Position = UDim2.new(0, 64, 0, 0), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 11, TextColor3 = theme.text, Text = "Inspector", TextXAlignment = Enum.TextXAlignment.Left, Parent = infoHead, }) local infoScroll = make("ScrollingFrame", { Size = UDim2.new(1, 0, 1, -58), Position = UDim2.new(0, 0, 0, 28), BackgroundColor3 = theme.panel, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = theme.border, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(0, 0, 0, 0), Parent = pInfo, }) round(infoScroll, 6) outline(infoScroll, theme.border) make("UIPadding", { PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8), PaddingLeft = UDim.new(0, 10), PaddingRight = UDim.new(0, 10), Parent = infoScroll, }) make("UIListLayout", { Padding = UDim.new(0, 6), SortOrder = Enum.SortOrder.LayoutOrder, Parent = infoScroll }) local function makeInfoField(label: string): (TextLabel, TextLabel) local box = make("Frame", { AutomaticSize = Enum.AutomaticSize.Y, Size = UDim2.new(1, 0, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, Parent = infoScroll, }) round(box, 4) outline(box, theme.border) make("UIPadding", { PaddingTop = UDim.new(0, 5), PaddingBottom = UDim.new(0, 5), PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8), Parent = box, }) local k = make("TextLabel", { Size = UDim2.new(1, 0, 0, 14), BackgroundTransparency = 1, Font = Enum.Font.GothamMedium, TextSize = 9, TextColor3 = theme.dim, Text = string.upper(label), TextXAlignment = Enum.TextXAlignment.Left, Parent = box, }) local v = make("TextLabel", { AutomaticSize = Enum.AutomaticSize.Y, Size = UDim2.new(1, 0, 0, 0), Position = UDim2.new(0, 0, 0, 14), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = "--", TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left, Parent = box, }) return k, v end local dKey1, dVal1 = makeInfoField("Field 1") local dKey2, dVal2 = makeInfoField("Field 2") local dKey3, dVal3 = makeInfoField("Field 3") local dKey4, dVal4 = makeInfoField("Field 4") local dKey5, dVal5 = makeInfoField("Field 5") local infoActions = make("Frame", { Size = UDim2.new(1, 0, 0, 24), Position = UDim2.new(0, 0, 1, -24), BackgroundTransparency = 1, Parent = pInfo, }) local function makeActBtn(posScale: number, padX: number, txt: string, col: Color3): TextButton local b = make("TextButton", { Size = UDim2.new(0.25, -4, 1, 0), Position = UDim2.new(posScale, padX, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = col, Font = Enum.Font.GothamMedium, TextSize = 10, Text = txt, Parent = infoActions, }) round(b, 5) outline(b, theme.border) return b end local actBtn1 = makeActBtn(0, 0, "Action 1", theme.accent) local actBtn2 = makeActBtn(0.25, 2, "Action 2", theme.text) local actBtn3 = makeActBtn(0.5, 2, "Action 3", theme.text) local actBtn4 = makeActBtn(0.75, 4, "Action 4", theme.sub) local assetSearch = make("TextBox", { Size = UDim2.new(1, -215, 0, 24), BackgroundColor3 = theme.panel, BorderSizePixel = 0, PlaceholderText = "Search sounds, anims, meshes, IDs...", PlaceholderColor3 = theme.dim, TextColor3 = theme.text, Font = Enum.Font.RobotoMono, TextSize = 10, Text = "", ClearTextOnFocus = false, Parent = pAssets, }) round(assetSearch, 5) outline(assetSearch, theme.border) make("UIPadding", { PaddingLeft = UDim.new(0, 8), Parent = assetSearch }) local filterBar = make("Frame", { Size = UDim2.new(0, 208, 0, 24), Position = UDim2.new(1, -208, 0, 0), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = pAssets, }) round(filterBar, 5) outline(filterBar, theme.border) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, VerticalAlignment = Enum.VerticalAlignment.Center, Parent = filterBar }) local filterBtns: {[string]: TextButton} = {} for _, cat in ipairs({"All", "Audio", "Anim", "Mesh", "Image"}) do local b = make("TextButton", { Size = UDim2.new(0.2, 0, 1, 0), BackgroundColor3 = (cat == "All") and theme.card or theme.panel, BackgroundTransparency = (cat == "All") and 0 or 1, TextColor3 = (cat == "All") and theme.accent or theme.sub, Font = Enum.Font.GothamMedium, TextSize = 9, Text = cat, BorderSizePixel = 0, Parent = filterBar, }) round(b, 4) filterBtns[cat] = b end local assetScroll = make("ScrollingFrame", { Size = UDim2.new(1, 0, 1, -32), Position = UDim2.new(0, 0, 0, 32), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = theme.border, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(0, 0, 0, 0), Parent = pAssets, }) make("UIPadding", { PaddingRight = UDim.new(0, 6), Parent = assetScroll }) make("UIListLayout", { Padding = UDim.new(0, 5), SortOrder = Enum.SortOrder.LayoutOrder, Parent = assetScroll }) local remSearch = make("TextBox", { Size = UDim2.new(1, -296, 0, 24), BackgroundColor3 = theme.panel, BorderSizePixel = 0, PlaceholderText = "Filter remotes or args...", PlaceholderColor3 = theme.dim, TextColor3 = theme.text, Font = Enum.Font.RobotoMono, TextSize = 10, Text = "", ClearTextOnFocus = false, Parent = pRemotes, }) round(remSearch, 5) outline(remSearch, theme.border) make("UIPadding", { PaddingLeft = UDim.new(0, 8), Parent = remSearch }) local remDirBar = make("Frame", { Size = UDim2.new(0, 106, 0, 24), Position = UDim2.new(1, -290, 0, 0), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = pRemotes, }) round(remDirBar, 5) outline(remDirBar, theme.border) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, VerticalAlignment = Enum.VerticalAlignment.Center, Parent = remDirBar }) local remDirBtns: {[string]: TextButton} = {} for _, dMode in ipairs({"All", "Out", "In"}) do local b = make("TextButton", { Size = UDim2.new(1 / 3, 0, 1, 0), BackgroundColor3 = (dMode == "All") and theme.card or theme.panel, BackgroundTransparency = (dMode == "All") and 0 or 1, TextColor3 = (dMode == "All") and theme.accent or theme.sub, Font = Enum.Font.GothamMedium, TextSize = 9, Text = dMode, BorderSizePixel = 0, Parent = remDirBar, }) round(b, 4) remDirBtns[dMode] = b end local hookBtn = make("TextButton", { Size = UDim2.new(0, 78, 0, 24), Position = UDim2.new(1, -180, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.accent, Font = Enum.Font.GothamMedium, TextSize = 9, Text = "Spy Out: OFF", Parent = pRemotes, }) round(hookBtn, 5) outline(hookBtn, theme.border) local pauseRemBtn = make("TextButton", { Size = UDim2.new(0, 48, 0, 24), Position = UDim2.new(1, -98, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.sub, Font = Enum.Font.GothamMedium, TextSize = 9, Text = "Pause", Parent = pRemotes, }) round(pauseRemBtn, 5) outline(pauseRemBtn, theme.border) local clearRemBtn = make("TextButton", { Size = UDim2.new(0, 46, 0, 24), Position = UDim2.new(1, -46, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.red, Font = Enum.Font.GothamMedium, TextSize = 9, Text = "Clear", Parent = pRemotes, }) round(clearRemBtn, 5) outline(clearRemBtn, theme.border) local remScroll = make("ScrollingFrame", { Size = UDim2.new(1, 0, 1, -32), Position = UDim2.new(0, 0, 0, 32), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = theme.border, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(0, 0, 0, 0), Parent = pRemotes, }) make("UIPadding", { PaddingRight = UDim.new(0, 6), Parent = remScroll }) make("UIListLayout", { Padding = UDim.new(0, 5), SortOrder = Enum.SortOrder.LayoutOrder, Parent = remScroll }) local expUpBtn = make("TextButton", { Size = UDim2.new(0, 46, 0, 24), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.accent, Font = Enum.Font.GothamMedium, TextSize = 10, Text = "Up ..", Parent = pExplorer, }) round(expUpBtn, 5) outline(expUpBtn, theme.border) local expSearch = make("TextBox", { Size = UDim2.new(1, -188, 0, 24), Position = UDim2.new(0, 52, 0, 0), BackgroundColor3 = theme.panel, BorderSizePixel = 0, PlaceholderText = "Filter children in current node...", PlaceholderColor3 = theme.dim, TextColor3 = theme.text, Font = Enum.Font.RobotoMono, TextSize = 10, Text = "", ClearTextOnFocus = false, Parent = pExplorer, }) round(expSearch, 5) outline(expSearch, theme.border) make("UIPadding", { PaddingLeft = UDim.new(0, 8), Parent = expSearch }) local function makeExtBtn(w: number, rightOffset: number, txt: string, url: string): TextButton local b = make("TextButton", { Size = UDim2.new(0, w, 0, 24), Position = UDim2.new(1, -rightOffset, 0, 0), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = theme.sub, Font = Enum.Font.GothamMedium, TextSize = 9, Text = txt, Parent = pExplorer, }) round(b, 5) outline(b, theme.border) b.MouseButton1Click:Connect(function() if typeof(loadstr) == "function" then task.spawn(function() pcall(function() local fn = loadstr(game:HttpGet(url)) if fn then fn() end end) end) end end) return b end makeExtBtn(40, 130, "Dex", "https://scriptblox.com/raw/Universal-Script-Dex-PlusPlus-Decompiler-Fix-206651") makeExtBtn(42, 86, "SSpy", "https://raw.githubusercontent.com/infyiff/backup/main/SimpleSpyV3/main.lua") makeExtBtn(40, 40, "IY", "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source") local expPathLbl = make("TextLabel", { Size = UDim2.new(1, 0, 0, 16), Position = UDim2.new(0, 2, 0, 26), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 9, TextColor3 = theme.accent, Text = "Path: game", TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = pExplorer, }) local expScroll = make("ScrollingFrame", { Size = UDim2.new(1, 0, 1, -46), Position = UDim2.new(0, 0, 0, 46), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = theme.border, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(0, 0, 0, 0), Parent = pExplorer, }) make("UIPadding", { PaddingRight = UDim.new(0, 6), Parent = expScroll }) make("UIListLayout", { Padding = UDim.new(0, 5), SortOrder = Enum.SortOrder.LayoutOrder, Parent = expScroll }) local grip = make("Frame", { Size = UDim2.new(0, 14, 0, 14), Position = UDim2.new(1, -14, 1, -14), BackgroundTransparency = 1, Active = true, ZIndex = 20, Parent = main, }) for _, off in ipairs({4, 7, 10}) do make("Frame", { Size = UDim2.new(0, off, 0, 1), Position = UDim2.new(1, -off, 1, -off), BackgroundColor3 = theme.border, BorderSizePixel = 0, ZIndex = 21, Parent = grip, }) end local app = {} function app.syncUI() local total = math.max(1, state.total) local ratio = math.clamp(state.done / total, 0, 1) local pct = math.floor(ratio * 100) pctLbl.Text = pct .. "%" countLbl.Text = string.format("%d / %d assets", state.done, state.total) tabBtns.errors.Text = string.format("Errors (%d)", #state.failed) tabBtns.errors.TextColor3 = (#state.failed > 0) and theme.red or ((state.tab == "errors") and theme.text or theme.sub) qAssetsBtn.Text = string.format(" Browse Assets (%d) ", #state.catalog) qRemotesBtn.Text = string.format(" Remote Spy (%d) ", #state.remotes) if state.minimized then titleLbl.Text = pct .. "%" end if math.abs(ratio - state.lastRatio) > 0.001 then state.lastRatio = ratio TweenService:Create(progFill, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = UDim2.new(ratio, 0, 1, 0), }):Play() end end function app.clearScroll(sf: ScrollingFrame) for _, ch in ipairs(sf:GetChildren()) do if ch:IsA("Frame") or ch:IsA("TextLabel") then ch:Destroy() end end end function app.retryOne(rec: any, btn: TextButton?, card: Frame?) if btn then btn.Text = "..." btn.TextColor3 = theme.sub end task.spawn(function() local t0 = os.clock() local list: {Instance} = {} if rec.inst and rec.inst.Parent then table.insert(list, rec.inst) end local okLoad = false local statusStr = "Instance destroyed" if #list > 0 then ContentProvider:PreloadAsync(list, function(_, st) statusStr = tostring(st) if st == Enum.AssetFetchStatus.Success then okLoad = true end end) end local ms = math.floor((os.clock() - t0) * 1000) if okLoad then if btn then btn.Text = string.format("OK %dms", ms) btn.TextColor3 = theme.green end if card then card.BackgroundColor3 = theme.greenBg local st = card:FindFirstChildOfClass("UIStroke") if st then st.Color = theme.green end end task.delay(1.2, function() for i, item in ipairs(state.failed) do if item == rec or item.id == rec.id then table.remove(state.failed, i) break end end state.failedSeen[rec.id] = nil state.recovered += 1 app.syncUI() if state.tab == "errors" then app.drawErrors(errSearch.Text) elseif state.tab == "info" and state.infoMode == "error" then app.setTab("errors") end end) else rec.retries += 1 rec.reason = string.format("%s (attempt %d)", statusStr, rec.retries + 1) if btn then btn.Text = "Fail" btn.TextColor3 = theme.red task.delay(1.4, function() btn.Text = "Retry" btn.TextColor3 = theme.accent end) end if state.tab == "info" and state.infoMode == "error" and state.curErr == rec then dVal3.Text = rec.reason end app.syncUI() end end) end function app.openErrInfo(rec: any) state.infoMode = "error" state.curErr = rec infoTitle.Text = "Error Diagnostics" dKey1.Text = "OBJECT NAME" dVal1.Text = rec.name dKey2.Text = "ASSET TYPE / CLASS" dVal2.Text = rec.assetType dKey3.Text = "FETCH STATUS" dVal3.Text = rec.reason dVal3.TextColor3 = theme.red dKey4.Text = "RESOURCE CONTENT ID" dVal4.Text = (rec.contentId ~= "" and rec.contentId) or "N/A (Builtin)" dKey5.Text = "FULL HIERARCHY PATH" dVal5.Text = rec.fullName actBtn1.Text = "Retry" actBtn1.TextColor3 = theme.accent actBtn2.Text = "ESP" actBtn2.TextColor3 = theme.text actBtn3.Text = "Teleport" actBtn3.TextColor3 = theme.text actBtn4.Text = "Copy Report" app.setTab("info") end function app.openAssetInfo(entry: any) state.infoMode = "asset" state.curAsset = entry infoTitle.Text = "Asset Inspector" dKey1.Text = "ASSET NAME & CATEGORY" dVal1.Text = string.format("%s [%s - %s]", entry.name, entry.cat, entry.className) dKey2.Text = "RESOURCE CONTENT ID" dVal2.Text = (entry.contentId ~= "" and entry.contentId) or "N/A (Embedded)" dKey3.Text = "FULL HIERARCHY PATH" dVal3.Text = "game." .. entry.fullName dVal3.TextColor3 = theme.accent local props, meta = getObjProps(entry.inst) dKey4.Text = "LIVE PROPERTIES" dVal4.Text = props dKey5.Text = "ATTRIBUTES & TAGS" dVal5.Text = meta if entry.cat == "Audio" or entry.cat == "Anim" then local isPlaying = (playingId ~= "" and playingId == entry.contentId) actBtn1.Text = isPlaying and "Stop" or "Play" actBtn1.TextColor3 = isPlaying and theme.yellow or theme.green else actBtn1.Text = "Preload" actBtn1.TextColor3 = theme.accent end actBtn2.Text = "ESP" actBtn2.TextColor3 = theme.text actBtn3.Text = "Teleport" actBtn3.TextColor3 = theme.text actBtn4.Text = "Copy ID" app.setTab("info") end function app.openRemoteInfo(log: any) state.infoMode = "remote" state.curRemote = log infoTitle.Text = "Remote Call Inspector" dKey1.Text = "REMOTE NAME & CLASS" dVal1.Text = string.format("%s (%s)", log.name, log.remote.ClassName) local dirDesc = (log.dir == "OUT") and "SENT (Client -> Server)" or "RECV (Server -> Client)" dKey2.Text = "DIRECTION, METHOD & TIME" dVal2.Text = string.format("[%s] %s | %s (Calls: x%d)", log.timeStr, dirDesc, log.method, log.count) dKey3.Text = "REMOTE HIERARCHY PATH" dVal3.Text = "game." .. log.fullName dVal3.TextColor3 = (log.dir == "OUT") and theme.accent or theme.green dKey4.Text = string.format("DECODED ARGUMENTS (%d)", #log.args) dVal4.Text = dumpArgsList(log.args) dKey5.Text = "GENERATED LUAU CALL CODE" dVal5.Text = getRemoteCode(log) local isBlk = state.blocked[log.remote] == true actBtn1.Text = "Repeat Fire" actBtn1.TextColor3 = theme.green actBtn2.Text = isBlk and "Unblock" or "Block" actBtn2.TextColor3 = isBlk and theme.red or theme.text actBtn3.Text = "Copy Code" actBtn3.TextColor3 = theme.accent actBtn4.Text = "Copy Path" app.setTab("info") end function app.openExpInfo(inst: Instance) state.infoMode = "explorer" state.curExp = inst infoTitle.Text = "Instance Inspector" dKey1.Text = "INSTANCE NAME & CLASS" dVal1.Text = string.format("%s [%s]", inst.Name, inst.ClassName) local chCount, descCount = 0, 0 pcall(function() chCount = #inst:GetChildren() descCount = #inst:GetDescendants() end) dKey2.Text = "HIERARCHY STATS" dVal2.Text = string.format("Parent: %s | Children: %d | Descendants: %d", inst.Parent and inst.Parent.Name or "nil", chCount, descCount) dKey3.Text = "FULL HIERARCHY PATH" dVal3.Text = "game." .. inst:GetFullName() dVal3.TextColor3 = theme.accent local props, meta = getObjProps(inst) dKey4.Text = "LIVE PROPERTIES" dVal4.Text = props dKey5.Text = "ATTRIBUTES & TAGS" dVal5.Text = meta actBtn1.Text = "Open Node" actBtn1.TextColor3 = theme.accent actBtn2.Text = "ESP" actBtn2.TextColor3 = theme.text actBtn3.Text = "Teleport" actBtn3.TextColor3 = theme.text actBtn4.Text = "Copy Info" app.setTab("info") end function app.drawErrors(query: string?) app.clearScroll(errScroll) local q = string.lower(query or "") local shown = 0 for idx, err in ipairs(state.failed) do local hit = (q == "") or string.find(string.lower(err.name), q, 1, true) or string.find(string.lower(err.reason), q, 1, true) or string.find(string.lower(err.fullName), q, 1, true) if hit then shown += 1 local card = make("Frame", { Name = "Err_" .. idx, Size = UDim2.new(1, 0, 0, 42), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = errScroll, }) round(card, 5) outline(card, theme.border) make("TextLabel", { Size = UDim2.new(1, -185, 0, 16), Position = UDim2.new(0, 8, 0, 4), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = err.name, TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) make("TextLabel", { Size = UDim2.new(1, -185, 0, 16), Position = UDim2.new(0, 8, 0, 20), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 9, TextColor3 = theme.red, Text = string.format("[%s] %s", err.assetType, err.reason), TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) local holder = make("Frame", { Size = UDim2.new(0, 176, 1, 0), Position = UDim2.new(1, -180, 0, 0), BackgroundTransparency = 1, Parent = card, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), Parent = holder, }) local function rowBtn(w: number, txt: string, col: Color3): TextButton local b = make("TextButton", { Size = UDim2.new(0, w, 0, 22), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = col, Font = Enum.Font.GothamMedium, TextSize = 9, Text = txt, Parent = holder, }) round(b, 4) return b end local espB = rowBtn(34, "ESP", theme.sub) local infoB = rowBtn(34, "Info", theme.sub) local retryB = rowBtn(48, "Retry", theme.accent) local copyB = rowBtn(38, "Copy", theme.sub) espB.MouseButton1Click:Connect(function() espB.TextColor3 = toggleEsp(err.inst) and theme.accent or theme.sub end) infoB.MouseButton1Click:Connect(function() app.openErrInfo(err) end) retryB.MouseButton1Click:Connect(function() app.retryOne(err, retryB, card) end) copyB.MouseButton1Click:Connect(function() if copyText(string.format("%s (%s): %s", err.fullName, err.assetType, err.reason)) then copyB.Text = "OK" task.delay(1, function() copyB.Text = "Copy" end) end end) if shown >= cfg.maxRows then break end end end if shown == 0 then make("TextLabel", { Size = UDim2.new(1, 0, 0, 40), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = theme.dim, Text = (q == "") and "No errors recorded." or "No assets match search.", Parent = errScroll, }) end end function app.drawAssets(query: string?) app.clearScroll(assetScroll) local q = string.lower(query or "") local cat = state.filter local shown = 0 for idx, item in ipairs(state.catalog) do local catOk = (cat == "All") or (item.cat == cat) local txtOk = (q == "") or string.find(string.lower(item.name), q, 1, true) or string.find(string.lower(item.contentId), q, 1, true) or string.find(string.lower(item.fullName), q, 1, true) if catOk and txtOk then shown += 1 local card = make("Frame", { Name = "Asset_" .. idx, Size = UDim2.new(1, 0, 0, 42), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = assetScroll, }) round(card, 5) outline(card, theme.border) make("TextLabel", { Size = UDim2.new(1, -215, 0, 16), Position = UDim2.new(0, 8, 0, 4), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = string.format("[%s] %s", item.cat, item.name), TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) make("TextLabel", { Size = UDim2.new(1, -215, 0, 16), Position = UDim2.new(0, 8, 0, 20), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 9, TextColor3 = theme.sub, Text = (item.contentId ~= "" and item.contentId) or item.fullName, TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) local holder = make("Frame", { Size = UDim2.new(0, 206, 1, 0), Position = UDim2.new(1, -210, 0, 0), BackgroundTransparency = 1, Parent = card, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), Parent = holder, }) local function rowBtn(w: number, txt: string, col: Color3): TextButton local b = make("TextButton", { Size = UDim2.new(0, w, 0, 22), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = col, Font = Enum.Font.GothamMedium, TextSize = 9, Text = txt, Parent = holder, }) round(b, 4) return b end local infoB = rowBtn(34, "Info", theme.sub) infoB.MouseButton1Click:Connect(function() app.openAssetInfo(item) end) if item.cat == "Audio" or item.cat == "Anim" then local isPlaying = (playingId ~= "" and playingId == item.contentId) local playB = rowBtn(40, isPlaying and "Stop" or "Play", isPlaying and theme.yellow or theme.green) playB.MouseButton1Click:Connect(function() local on = (item.cat == "Audio") and playSfx(item.contentId) or playAnim(item.contentId) playB.Text = on and "Stop" or "Play" playB.TextColor3 = on and theme.yellow or theme.green end) end if findWorldTarget(item.inst) then local espB = rowBtn(32, "ESP", theme.sub) local tpB = rowBtn(28, "TP", theme.sub) espB.MouseButton1Click:Connect(function() espB.TextColor3 = toggleEsp(item.inst) and theme.accent or theme.sub end) tpB.MouseButton1Click:Connect(function() tpTo(item.inst) end) end local idB = rowBtn(42, "Copy ID", theme.accent) idB.MouseButton1Click:Connect(function() local str = (item.contentId ~= "" and item.contentId) or item.fullName if copyText(str) then idB.Text = "OK" task.delay(1, function() idB.Text = "Copy ID" end) end end) if shown >= cfg.maxRows then break end end end if shown == 0 then make("TextLabel", { Size = UDim2.new(1, 0, 0, 40), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = theme.dim, Text = "No matching assets in catalog.", Parent = assetScroll, }) end end function app.makeRemoteCard(log: any): Frame local isBlk = state.blocked[log.remote] == true local isOut = (log.dir == "OUT") local card = make("Frame", { Name = "Rem_" .. log.id, LayoutOrder = -log.id, Size = UDim2.new(1, 0, 0, 42), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = remScroll, }) round(card, 5) outline(card, theme.border) local dirBadge = make("TextLabel", { Size = UDim2.new(0, 50, 0, 15), Position = UDim2.new(0, 8, 0, 4), BackgroundColor3 = isOut and theme.accentBg or theme.greenBg, TextColor3 = isOut and theme.accent or theme.green, Font = Enum.Font.RobotoMono, TextSize = 9, Text = isOut and "SENT ->" or "RECV <-", Parent = card, }) round(dirBadge, 3) local title = make("TextLabel", { Size = UDim2.new(1, -256, 0, 16), Position = UDim2.new(0, 64, 0, 4), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = string.format("[%s] %s (%s) x%d", log.timeStr, log.name, log.method, log.count), TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) make("TextLabel", { Size = UDim2.new(1, -196, 0, 16), Position = UDim2.new(0, 8, 0, 21), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 9, TextColor3 = theme.sub, Text = "Args: " .. log.preview, TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) local holder = make("Frame", { Size = UDim2.new(0, 186, 1, 0), Position = UDim2.new(1, -190, 0, 0), BackgroundTransparency = 1, Parent = card, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), Parent = holder, }) local function rowBtn(w: number, txt: string, col: Color3): TextButton local b = make("TextButton", { Size = UDim2.new(0, w, 0, 22), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = col, Font = Enum.Font.GothamMedium, TextSize = 9, Text = txt, Parent = holder, }) round(b, 4) return b end local infoB = rowBtn(34, "Info", theme.sub) local fireB = rowBtn(40, "Fire", theme.green) local blkB = rowBtn(46, isBlk and "Unblock" or "Block", isBlk and theme.red or theme.sub) local codeB = rowBtn(42, "Code", theme.accent) infoB.MouseButton1Click:Connect(function() app.openRemoteInfo(log) end) fireB.MouseButton1Click:Connect(function() pcall(function() if log.remote:IsA("RemoteEvent") then (log.remote :: RemoteEvent):FireServer(table.unpack(log.args)) elseif log.remote:IsA("UnreliableRemoteEvent") then (log.remote :: UnreliableRemoteEvent):FireServer(table.unpack(log.args)) elseif log.remote:IsA("RemoteFunction") then task.spawn(function() (log.remote :: RemoteFunction):InvokeServer(table.unpack(log.args)) end) end end) fireB.Text = "Sent" task.delay(0.8, function() fireB.Text = "Fire" end) end) blkB.MouseButton1Click:Connect(function() local nextState = not state.blocked[log.remote] state.blocked[log.remote] = nextState blkB.Text = nextState and "Unblock" or "Block" blkB.TextColor3 = nextState and theme.red or theme.sub end) codeB.MouseButton1Click:Connect(function() if copyText(getRemoteCode(log)) then codeB.Text = "OK" task.delay(1, function() codeB.Text = "Code" end) end end) log.rowCard = card log.rowTitle = title log.dirty = false return card end function app.matchesRemoteFilter(log: any, query: string?): boolean local dFilter = state.remFilter local dirOk = (dFilter == "All") or (dFilter == "Out" and log.dir == "OUT") or (dFilter == "In" and log.dir == "IN") if not dirOk then return false end local q = string.lower(query or "") if q == "" then return true end return (string.find(string.lower(log.name), q, 1, true) ~= nil) or (string.find(string.lower(log.preview), q, 1, true) ~= nil) or (string.find(string.lower(log.method), q, 1, true) ~= nil) or (string.find(string.lower(log.timeStr), q, 1, true) ~= nil) end function app.drawRemotes(query: string?) for _, log in ipairs(state.remotes) do log.rowCard = nil log.rowTitle = nil log.dirty = false end app.clearScroll(remScroll) local shown = 0 for i = #state.remotes, 1, -1 do local log = state.remotes[i] if app.matchesRemoteFilter(log, query) then shown += 1 app.makeRemoteCard(log) if shown >= cfg.maxRows then break end end end if shown == 0 then local dFilter = state.remFilter local emptyMsg = "Listening for Remote traffic..." if dFilter == "Out" and not state.hookOn then emptyMsg = "Enable 'Spy Out: ON' to capture outgoing FireServer calls." elseif dFilter == "Out" then emptyMsg = "No outgoing FireServer calls captured yet. Perform an action in game!" end make("TextLabel", { Name = "EmptyMsg", Size = UDim2.new(1, 0, 0, 40), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = theme.dim, Text = emptyMsg, Parent = remScroll, }) end end function app.drawExplorer(query: string?) app.clearScroll(expScroll) local node = state.expNode expPathLbl.Text = "Path: " .. ((node == game) and "game" or node:GetFullName()) local list: {Instance} = {} if node == game then local roots: {Instance?} = { workspace, Players, ReplicatedStorage, ReplicatedFirst, Lighting, SoundService, StarterPack, lp:FindFirstChild("PlayerGui"), } for _, r in ipairs(roots) do if r then table.insert(list, r) end end else local ok, ch = pcall(function() return node:GetChildren() end) if ok and ch then list = ch end end local q = string.lower(query or "") local shown = 0 for idx, ch in ipairs(list) do local hit = (q == "") or string.find(string.lower(ch.Name), q, 1, true) or string.find(string.lower(ch.ClassName), q, 1, true) if hit then shown += 1 local subCount = 0 pcall(function() subCount = #ch:GetChildren() end) local card = make("Frame", { Name = "Exp_" .. idx, Size = UDim2.new(1, 0, 0, 38), BackgroundColor3 = theme.panel, BorderSizePixel = 0, Parent = expScroll, }) round(card, 5) outline(card, theme.border) make("TextLabel", { Size = UDim2.new(1, -230, 0, 16), Position = UDim2.new(0, 8, 0, 3), BackgroundTransparency = 1, Font = Enum.Font.RobotoMono, TextSize = 10, TextColor3 = theme.text, Text = ch.Name, TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) make("TextLabel", { Size = UDim2.new(1, -230, 0, 14), Position = UDim2.new(0, 8, 0, 19), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 9, TextColor3 = theme.dim, Text = string.format("[%s] • %d children", ch.ClassName, subCount), TextTruncate = Enum.TextTruncate.AtEnd, TextXAlignment = Enum.TextXAlignment.Left, Parent = card, }) local holder = make("Frame", { Size = UDim2.new(0, 220, 1, 0), Position = UDim2.new(1, -224, 0, 0), BackgroundTransparency = 1, Parent = card, }) make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, HorizontalAlignment = Enum.HorizontalAlignment.Right, VerticalAlignment = Enum.VerticalAlignment.Center, Padding = UDim.new(0, 4), Parent = holder, }) local function rowBtn(w: number, txt: string, col: Color3): TextButton local b = make("TextButton", { Size = UDim2.new(0, w, 0, 22), BackgroundColor3 = theme.card, BorderSizePixel = 0, TextColor3 = col, Font = Enum.Font.GothamMedium, TextSize = 9, Text = txt, Parent = holder, }) round(b, 4) return b end local openB = rowBtn(40, "Open", theme.accent) local infoB = rowBtn(34, "Info", theme.sub) openB.MouseButton1Click:Connect(function() state.expNode = ch app.drawExplorer(expSearch.Text) end) infoB.MouseButton1Click:Connect(function() app.openExpInfo(ch) end) if findWorldTarget(ch) then local espB = rowBtn(32, "ESP", theme.sub) local tpB = rowBtn(28, "TP", theme.sub) espB.MouseButton1Click:Connect(function() espB.TextColor3 = toggleEsp(ch) and theme.accent or theme.sub end) tpB.MouseButton1Click:Connect(function() tpTo(ch) end) end local delB = rowBtn(30, "Del", theme.red) local pathB = rowBtn(36, "Path", theme.sub) delB.MouseButton1Click:Connect(function() pcall(function() ch:Destroy() end) app.drawExplorer(expSearch.Text) end) pathB.MouseButton1Click:Connect(function() if copyText("game." .. ch:GetFullName()) then pathB.Text = "OK" task.delay(1, function() pathB.Text = "Path" end) end end) if shown >= cfg.maxRows then break end end end if shown == 0 then make("TextLabel", { Size = UDim2.new(1, 0, 0, 40), BackgroundTransparency = 1, Font = Enum.Font.Gotham, TextSize = 11, TextColor3 = theme.dim, Text = "No children found in this instance.", Parent = expScroll, }) end end function app.setTab(tab: string) if tab ~= "info" then state.prevTab = tab end state.tab = tab for k, page in pairs(pages) do page.Visible = (k == tab) end local activeNav = (tab == "info") and state.prevTab or tab for k, btn in pairs(tabBtns) do local on = (k == activeNav) btn.BackgroundColor3 = on and theme.card or theme.bg btn.BackgroundTransparency = on and 0 or 1 if k == "errors" and #state.failed > 0 and not on then btn.TextColor3 = theme.red else btn.TextColor3 = on and theme.text or theme.sub end end if tab == "errors" then app.drawErrors(errSearch.Text) elseif tab == "assets" then app.drawAssets(assetSearch.Text) elseif tab == "remotes" then app.drawRemotes(remSearch.Text) elseif tab == "explorer" then app.drawExplorer(expSearch.Text) end end for k, btn in pairs(tabBtns) do btn.MouseButton1Click:Connect(function() app.setTab(k) end) end infoBackBtn.MouseButton1Click:Connect(function() app.setTab(state.prevTab) end) qAssetsBtn.MouseButton1Click:Connect(function() app.setTab("assets") end) qRemotesBtn.MouseButton1Click:Connect(function() app.setTab("remotes") end) qExpBtn.MouseButton1Click:Connect(function() app.setTab("explorer") end) qClearEspBtn.MouseButton1Click:Connect(function() toggleEsp(nil) end) for catName, btn in pairs(filterBtns) do btn.MouseButton1Click:Connect(function() state.filter = catName for k, b in pairs(filterBtns) do local on = (k == catName) b.BackgroundColor3 = on and theme.card or theme.panel b.BackgroundTransparency = on and 0 or 1 b.TextColor3 = on and theme.accent or theme.sub end app.drawAssets(assetSearch.Text) end) end actBtn1.MouseButton1Click:Connect(function() local m = state.infoMode if m == "error" and state.curErr then app.retryOne(state.curErr, actBtn1, nil) elseif m == "asset" and state.curAsset then local a = state.curAsset if a.cat == "Audio" or a.cat == "Anim" then local on = (a.cat == "Audio") and playSfx(a.contentId) or playAnim(a.contentId) actBtn1.Text = on and "Stop" or "Play" actBtn1.TextColor3 = on and theme.yellow or theme.green else actBtn1.Text = "..." task.spawn(function() pcall(function() ContentProvider:PreloadAsync({a.inst}) end) actBtn1.Text = "Loaded!" actBtn1.TextColor3 = theme.green task.delay(1, function() if state.infoMode == "asset" then actBtn1.Text = "Preload" actBtn1.TextColor3 = theme.accent end end) end) end elseif m == "remote" and state.curRemote then local log = state.curRemote pcall(function() if log.remote:IsA("RemoteEvent") then (log.remote :: RemoteEvent):FireServer(table.unpack(log.args)) elseif log.remote:IsA("UnreliableRemoteEvent") then (log.remote :: UnreliableRemoteEvent):FireServer(table.unpack(log.args)) elseif log.remote:IsA("RemoteFunction") then task.spawn(function() (log.remote :: RemoteFunction):InvokeServer(table.unpack(log.args)) end) end end) actBtn1.Text = "Sent!" task.delay(0.8, function() if state.infoMode == "remote" then actBtn1.Text = "Repeat Fire" end end) elseif m == "explorer" and state.curExp then state.expNode = state.curExp app.setTab("explorer") end end) actBtn2.MouseButton1Click:Connect(function() local m = state.infoMode if m == "error" and state.curErr then actBtn2.TextColor3 = toggleEsp(state.curErr.inst) and theme.accent or theme.text elseif m == "asset" and state.curAsset then actBtn2.TextColor3 = toggleEsp(state.curAsset.inst) and theme.accent or theme.text elseif m == "remote" and state.curRemote then local rem = state.curRemote.remote local nextBlk = not state.blocked[rem] state.blocked[rem] = nextBlk actBtn2.Text = nextBlk and "Unblock" or "Block" actBtn2.TextColor3 = nextBlk and theme.red or theme.text elseif m == "explorer" and state.curExp then actBtn2.TextColor3 = toggleEsp(state.curExp) and theme.accent or theme.text end end) actBtn3.MouseButton1Click:Connect(function() local m = state.infoMode if m == "error" and state.curErr then tpTo(state.curErr.inst) elseif m == "asset" and state.curAsset then tpTo(state.curAsset.inst) elseif m == "remote" and state.curRemote then if copyText(getRemoteCode(state.curRemote)) then actBtn3.Text = "Copied!" task.delay(1, function() if state.infoMode == "remote" then actBtn3.Text = "Copy Code" end end) end elseif m == "explorer" and state.curExp then tpTo(state.curExp) end end) actBtn4.MouseButton1Click:Connect(function() local m = state.infoMode local out = "" if m == "error" and state.curErr then local r = state.curErr out = string.format("Object: %s\nClass: %s\nStatus: %s\nResource: %s\nPath: %s", r.name, r.assetType, r.reason, r.contentId, r.fullName) elseif m == "asset" and state.curAsset then local a = state.curAsset out = (a.contentId ~= "" and a.contentId) or ("game." .. a.fullName) elseif m == "remote" and state.curRemote then out = "game." .. state.curRemote.fullName elseif m == "explorer" and state.curExp then local e = state.curExp out = string.format("Instance: %s\nClass: %s\nPath: game.%s\nProperties:\n%s", e.Name, e.ClassName, e:GetFullName(), dVal4.Text) end if out ~= "" and copyText(out) then local prev = actBtn4.Text actBtn4.Text = "Copied!" task.delay(1, function() actBtn4.Text = prev end) end end) expUpBtn.MouseButton1Click:Connect(function() if state.expNode ~= game and state.expNode.Parent then state.expNode = state.expNode.Parent else state.expNode = game end app.drawExplorer(expSearch.Text) end) local function bindSearch(box: TextBox, fn: (string?) -> ()) local deb: thread? = nil box:GetPropertyChangedSignal("Text"):Connect(function() if deb then task.cancel(deb) end deb = task.delay(cfg.debounce, function() fn(box.Text) end) end) end bindSearch(errSearch, app.drawErrors) bindSearch(assetSearch, app.drawAssets) bindSearch(remSearch, app.drawRemotes) bindSearch(expSearch, app.drawExplorer) local remCounter = 0 local listenedRemotes: {[Instance]: boolean} = {} local function logRemote(rem: Instance, method: string, dir: string, args: {any}) if state.paused then return end local last = state.remotes[#state.remotes] local parts = {} for i = 1, math.min(3, #args) do table.insert(parts, dumpVal(args[i], 1)) end if #args > 3 then table.insert(parts, "...") end local preview = (#parts > 0) and table.concat(parts, ", ") or "(no args)" local nowStr = getTimeStamp() if last and last.remote == rem and last.method == method and last.preview == preview then last.count += 1 last.timeStr = nowStr last.dirty = true state.remotesDirty = true return end remCounter += 1 local newEntry = { id = remCounter, remote = rem, name = rem.Name, fullName = getSafeFullPath(rem), method = method, dir = dir, timeStr = nowStr, args = args, preview = preview, code = nil, count = 1, dirty = true, rowCard = nil :: Frame?, rowTitle = nil :: TextLabel?, } table.insert(state.remotes, newEntry) state.remotesDirty = true end local function watchRemote(inst: Instance) if listenedRemotes[inst] then return end if inst.ClassName == "RemoteEvent" then listenedRemotes[inst] = true ;(inst :: RemoteEvent).OnClientEvent:Connect(function(...) if state.blocked[inst] then return end logRemote(inst, "OnClientEvent", "IN", {...}) end) end end local hookInstalled = false local function setOutgoingHook(enable: boolean) if typeof(hookmeta) ~= "function" or typeof(getncm) ~= "function" then hookBtn.Text = "Unsupported" hookBtn.TextColor3 = theme.red return end state.hookOn = enable hookBtn.Text = state.hookOn and "Spy Out: ON" or "Spy Out: OFF" hookBtn.TextColor3 = state.hookOn and theme.green or theme.accent if state.hookOn and not hookInstalled then hookInstalled = true pcall(function() local old: any local hookFn = function(self: any, ...: any) if state.hookOn and typeof(self) == "Instance" then local m = getncm() if m == "FireServer" or m == "InvokeServer" then local fromExec = (typeof(iscaller) == "function") and iscaller() or false if not fromExec then local cls = self.ClassName if cls == "RemoteEvent" or cls == "RemoteFunction" or cls == "UnreliableRemoteEvent" then if state.blocked[self] then return nil end local packed = {...} pcall(logRemote, self, m, "OUT", packed) end if typeof(setncm) == "function" then setncm(m) end end end end return old(self, ...) end old = hookmeta(game, "__namecall", (typeof(newcc) == "function") and newcc(hookFn) or hookFn) end) end end hookBtn.MouseButton1Click:Connect(function() setOutgoingHook(not state.hookOn) app.drawRemotes(remSearch.Text) end) for dMode, btn in pairs(remDirBtns) do btn.MouseButton1Click:Connect(function() state.remFilter = dMode if dMode == "Out" and not state.hookOn then setOutgoingHook(true) end for k, b in pairs(remDirBtns) do local on = (k == dMode) b.BackgroundColor3 = on and theme.card or theme.panel b.BackgroundTransparency = on and 0 or 1 b.TextColor3 = on and theme.accent or theme.sub end app.drawRemotes(remSearch.Text) end) end pauseRemBtn.MouseButton1Click:Connect(function() state.paused = not state.paused pauseRemBtn.Text = state.paused and "Resume" or "Pause" pauseRemBtn.TextColor3 = state.paused and theme.yellow or theme.sub end) clearRemBtn.MouseButton1Click:Connect(function() for _, log in ipairs(state.remotes) do if log.rowCard then log.rowCard:Destroy() end end state.remotes = {} state.remotesDirty = false app.syncUI() app.drawRemotes(remSearch.Text) end) clearErrBtn.MouseButton1Click:Connect(function() state.failed = {} state.failedSeen = {} app.syncUI() app.drawErrors(errSearch.Text) end) retryAllBtn.MouseButton1Click:Connect(function() if #state.failed == 0 then return end retryAllBtn.Text = "Retrying..." task.spawn(function() local fixed = 0 local list: {Instance} = {} for _, item in ipairs(state.failed) do if item.inst and item.inst.Parent then table.insert(list, item.inst) end end if #list > 0 then ContentProvider:PreloadAsync(list, function(cid, st) if st == Enum.AssetFetchStatus.Success then fixed += 1 for i = #state.failed, 1, -1 do local f = state.failed[i] if f.contentId == cid or (f.inst and f.inst.Name == cid) then state.failedSeen[f.id] = nil table.remove(state.failed, i) end end end end) end state.recovered += fixed retryAllBtn.Text = string.format("+%d", fixed) app.syncUI() app.drawErrors(errSearch.Text) task.delay(1.4, function() retryAllBtn.Text = "Retry All" end) end) end) local dragging, dragOrigin, startPos = false, Vector3.zero, UDim2.new() topbar.InputBegan:Connect(function(input: InputObject) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragOrigin = input.Position startPos = main.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) local resizing, resizeOrigin, startSz = false, Vector2.zero, Vector2.zero grip.InputBegan:Connect(function(input: InputObject) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then resizing = true resizeOrigin = Vector2.new(input.Position.X, input.Position.Y) startSz = Vector2.new(main.AbsoluteSize.X, main.AbsoluteSize.Y) input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then resizing = false if not state.minimized then state.winSize = main.Size end end end) end end) UserInputService.InputChanged:Connect(function(input: InputObject) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local d = input.Position - dragOrigin main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y) elseif resizing and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local dx = input.Position.X - resizeOrigin.X local dy = input.Position.Y - resizeOrigin.Y local w = math.clamp(startSz.X + dx, cfg.minW, cfg.maxW) local h = math.clamp(startSz.Y + dy, cfg.minH, cfg.maxH) main.Size = UDim2.new(0, w, 0, h) end end) minBtn.MouseButton1Click:Connect(function() state.minimized = not state.minimized if state.minimized then state.winSize = main.Size TweenService:Create(main, TweenInfo.new(cfg.tweenTime, Enum.EasingStyle.Quad), { Size = UDim2.new(0, 160, 0, 36), }):Play() navBar.Visible = false for _, p in pairs(pages) do p.Visible = false end grip.Visible = false titleLbl.Text = pctLbl.Text minBtn.Text = "+" else TweenService:Create(main, TweenInfo.new(cfg.tweenTime, Enum.EasingStyle.Quad), { Size = state.winSize, }):Play() navBar.Visible = true grip.Visible = true app.setTab(state.tab) titleLbl.Text = "dev.suite" minBtn.Text = "-" end end) UserInputService.InputBegan:Connect(function(input: InputObject, gp: boolean) if not gp and input.KeyCode == Enum.KeyCode.L and UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then main.Visible = not main.Visible end end) local frames = 0 local lastTick = os.clock() RunService.RenderStepped:Connect(function() frames += 1 local now = os.clock() local dt = now - lastTick if state.remotesDirty then state.remotesDirty = false while #state.remotes > cfg.maxRows do local removed = table.remove(state.remotes, 1) if removed and removed.rowCard then removed.rowCard:Destroy() removed.rowCard = nil removed.rowTitle = nil end end qRemotesBtn.Text = string.format(" Remote Spy (%d) ", #state.remotes) if state.tab == "remotes" then for _, entry in ipairs(state.remotes) do if entry.dirty then entry.dirty = false if entry.rowTitle and entry.rowTitle.Parent then entry.rowTitle.Text = string.format("[%s] %s (%s) x%d", entry.timeStr, entry.name, entry.method, entry.count) elseif not entry.rowCard and app.matchesRemoteFilter(entry, remSearch.Text) then local emptyLbl = remScroll:FindFirstChild("EmptyMsg") if emptyLbl then emptyLbl:Destroy() end app.makeRemoteCard(entry) end end end end end if dt >= 0.65 then local fps = math.floor(frames / dt) frames = 0 lastTick = now chipFps.Text = string.format("FPS %d", fps) chipFps.TextColor3 = (fps >= 45 and theme.sub) or theme.red local okP, ping = pcall(function() return math.floor(Stats.Network.ServerStatsItem["Data Ping"]:GetValue()) end) if okP then chipPing.Text = string.format("%dms", ping) end local okM, mem = pcall(function() return math.floor(Stats:GetTotalMemoryUsageMb()) end) if okM then chipRam.Text = string.format("%dMB", mem) end if state.running and not state.finished then state.elapsed = os.clock() - state.t0 chipTime.Text = fmtTime(state.elapsed) local spd = (state.elapsed > 0) and (state.done / state.elapsed) or 0 state.speed = spd chipSpeed.Text = string.format("%.0f/s", spd) local left = math.max(0, state.total - state.done) local eta = (spd > 0) and math.ceil(left / spd) or 0 chipEta.Text = (eta > 0 and eta < 999) and string.format("ETA %ds", eta) or "ETA --" end end end) local queue: {Instance} = {} local busy = false local function addCatalogItem(inst: Instance) if state.catalogSeen[inst] then return end state.catalogSeen[inst] = true table.insert(state.catalog, { name = inst.Name, fullName = inst:GetFullName(), cat = getCategory(inst), className = inst.ClassName, contentId = getAssetId(inst), inst = inst, }) end local function loadChunk(chunk: {Instance}) if #chunk == 0 then return end local head = chunk[1] if head and head.Parent then curPathLbl.Text = shortPath(head) curMetaLbl.Text = string.format("Class: %s | Batch: %d (%d files)", getTypeLabel(head), #chunk, state.files) end ContentProvider:PreloadAsync(chunk, function(cid, status) state.files += 1 if status ~= Enum.AssetFetchStatus.Success then local key = tostring(cid) if not state.failedSeen[key] then state.failedSeen[key] = true local matched: Instance? = nil for _, item in ipairs(chunk) do if item:GetFullName() == cid or item.Name == cid then matched = item break end end local target = matched or head table.insert(state.failed, { id = key, name = target and target.Name or key, fullName = target and target:GetFullName() or key, assetType = target and getTypeLabel(target) or "Asset", contentId = key, inst = target, reason = tostring(status), retries = 0, }) end end end) state.done += #chunk app.syncUI() end local function startWorker() if busy then return end busy = true task.spawn(function() while #queue > 0 do local chunk: {Instance} = {} for _ = 1, math.min(cfg.batchSize, #queue) do local nxt = table.remove(queue, 1) if nxt then table.insert(chunk, nxt) end end if #chunk > 0 then loadChunk(chunk) end task.wait() end busy = false if state.done >= state.total and not state.finished then state.finished = true state.running = false statusDot.BackgroundColor3 = theme.green curPathLbl.Text = "ALL ASSETS LOADED" curMetaLbl.Text = string.format("Done in %s (%d files, %d failed)", fmtTime(state.elapsed), state.files, #state.failed) chipEta.Text = "DONE" app.syncUI() if state.tab == "errors" then app.drawErrors(errSearch.Text) end end end) end local function pushQueue(list: {Instance}) local count = 0 for _, obj in ipairs(list) do addCatalogItem(obj) local key = obj:GetFullName() if not _G.TrackerLoadedAssetIds[key] then _G.TrackerLoadedAssetIds[key] = true table.insert(queue, obj) count += 1 end end if count > 0 then state.total += count state.finished = false statusDot.BackgroundColor3 = theme.accent app.syncUI() startWorker() end end local incomingBuf: {Instance} = {} local bufTimer: thread? = nil local function onAdded(inst: Instance) if inst.ClassName == "RemoteEvent" then watchRemote(inst) end if isAsset(inst) then table.insert(incomingBuf, inst) if not bufTimer then bufTimer = task.delay(1.2, function() local batch = incomingBuf incomingBuf = {} bufTimer = nil pushQueue(batch) end) end end end workspace.DescendantAdded:Connect(onAdded) ReplicatedStorage.DescendantAdded:Connect(onAdded) local pg = lp:FindFirstChild("PlayerGui") if pg then pg.DescendantAdded:Connect(onAdded) end local function init() state.t0 = os.clock() state.running = true curPathLbl.Text = "INDEXING DOMAIN ROOTS..." local roots: {Instance?} = { workspace, ReplicatedStorage, ReplicatedFirst, Lighting, MaterialService, SoundService, StarterPack, lp:FindFirstChild("PlayerGui"), } local initial: {Instance} = {} local seen = {} for _, r in ipairs(roots) do if r then for _, d in ipairs(r:GetDescendants()) do if d.ClassName == "RemoteEvent" then watchRemote(d) end if isAsset(d) and not seen[d] then seen[d] = true table.insert(initial, d) end end end end if #initial == 0 then state.finished = true state.running = false statusDot.BackgroundColor3 = theme.green curPathLbl.Text = "NO ASSETS TO LOAD" curMetaLbl.Text = "0 items in memory" app.syncUI() return end pushQueue(initial) end init()