-- Debug Script Scanner GUI -- if you post this give credits to roblox user videogagames9456 or harkinan -- Version 1.0 local Players = game:GetService("Players") local player = Players.LocalPlayer -- Create GUI local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "DebugScannerGUI" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = player:WaitForChild("PlayerGui") local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 500, 0, 400) MainFrame.Position = UDim2.new(0.5, -250, 0.5, -200) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner", MainFrame) local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 45) Title.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Title.Text = "Harkinanz anticheat finder" Title.TextColor3 = Color3.new(1,1,1) Title.TextSize = 20 Title.Font = Enum.Font.SourceSansBold Title.Parent = MainFrame local ScanButton = Instance.new("TextButton") ScanButton.Size = UDim2.new(0, 160, 0, 40) ScanButton.Position = UDim2.new(0.5, -162, 0, 60) ScanButton.Text = "Scan Scripts" ScanButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) ScanButton.TextColor3 = Color3.new(1,1,1) ScanButton.Font = Enum.Font.SourceSansBold ScanButton.TextSize = 18 ScanButton.Parent = MainFrame local CloseGui = Instance.new("TextButton") CloseGui.Size = UDim2.new(0, 160, 0, 40) CloseGui.Position = UDim2.new(0.5, 2, 0, 60) CloseGui.Text = "Close GUI" CloseGui.BackgroundColor3 = Color3.fromRGB(255, 64, 0) CloseGui.TextColor3 = Color3.new(1,1,1) CloseGui.Font = Enum.Font.SourceSansBold CloseGui.TextSize = 18 CloseGui.Parent = MainFrame local ResultsFrame = Instance.new("ScrollingFrame") ResultsFrame.Size = UDim2.new(1, -20, 1, -130) ResultsFrame.Position = UDim2.new(0, 10, 0, 110) ResultsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ResultsFrame.ScrollBarThickness = 8 ResultsFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) ResultsFrame.BorderSizePixel = 0 ResultsFrame.Parent = MainFrame local UIListLayout = Instance.new("UIListLayout") UIListLayout.Parent = ResultsFrame UIListLayout.Padding = UDim.new(0, 5) local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, 0, 0, 25) StatusLabel.Position = UDim2.new(0, 0, 1, -25) StatusLabel.BackgroundColor3 = Color3.fromRGB(40, 40, 40) StatusLabel.Text = "Status: Idle" StatusLabel.TextColor3 = Color3.new(1,1,1) StatusLabel.TextSize = 16 StatusLabel.Parent = MainFrame -- Auto resize scrolling frame UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() ResultsFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y + 10) end) -- Clear old results local function clearResults() for _, child in pairs(ResultsFrame:GetChildren()) do if child:IsA("TextLabel") then child:Destroy() end end end -- Valid locations to scan (avoids CorePackages) local function isValidLocation(obj) return obj:IsDescendantOf(game.Workspace) or obj:IsDescendantOf(game.ReplicatedStorage) or obj:IsDescendantOf(game.ServerScriptService) or obj:IsDescendantOf(game.StarterPlayer) end -- Scan function local function scanScripts() clearResults() StatusLabel.Text = "Status: Scanning..." local count = 0 for _, obj in ipairs(game:GetDescendants()) do if (obj:IsA("Script") or obj:IsA("LocalScript") or obj:IsA("ModuleScript")) and isValidLocation(obj) then count += 1 local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -10, 0, 25) label.BackgroundTransparency = 1 label.TextWrapped = true label.TextXAlignment = Enum.TextXAlignment.Left label.TextYAlignment = Enum.TextYAlignment.Center label.TextColor3 = Color3.fromRGB(200, 200, 200) label.TextSize = 14 label.Font = Enum.Font.SourceSans label.Text = obj:GetFullName() label.Parent = ResultsFrame end end StatusLabel.Text = "Status: Scan Complete | Scripts Found: " .. count end ScanButton.MouseButton1Click:Connect(scanScripts) CloseGui.MouseButton1Click:Connect(function() ScreenGui:Destroy() end)