Debug Print
Key RequiredUniversal

Debug Print

Universal Script4layy4layy 9K views 61 executesUpdated Aug 17, 2025
Unrated
00
Lua Script•185 lines (5309 chars)
local plrs = game:GetService("Players")
local rs = game:GetService("RunService")
local repstore = game:GetService("ReplicatedStorage")
local ws = game:GetService("Workspace")
local mps = game:GetService("MarketplaceService")

local plr = plrs.LocalPlayer

local function getgameinfo()
    local s,info = pcall(function()
        return mps:GetProductInfo(game.PlaceId)
    end)
    return s and info or nil
end

local function findadmins()
    local admins = {}
    
    local function scan(obj)
        if string.lower(obj.Name):find("admin") then
            table.insert(admins,obj:GetFullName())
        end
        
        for _,v in pairs(obj:GetChildren()) do
            scan(v)
        end
    end
    
    scan(game:GetService("StarterGui"))
    scan(game:GetService("ReplicatedStorage"))
    if plr.PlayerGui then
        scan(plr.PlayerGui)
    end
    
    return admins
end

local function findacs()
    local acs = {}
    local acnames = {
        "anticheat","ac","anti","cheat","exploit","detection",
        "security","protection","guard","shield","secure"
    }
    
    local function scanac(obj)
        local name = string.lower(obj.Name)
        for _,acname in pairs(acnames) do
            if name:find(acname) then
                table.insert(acs,obj:GetFullName())
                break
            end
        end
        
        for _,v in pairs(obj:GetChildren()) do
            scanac(v)
        end
    end
    
    scanac(game:GetService("ReplicatedStorage"))
    scanac(game:GetService("ServerStorage"))
    scanac(game:GetService("ServerScriptService"))
    
    return acs
end

local function finddestroys()
    local destroys = {}
    local keywords = {"destroy","delete","remove","clear","wipe","kill"}
    
    local function scanremotes(obj)
        if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") then
            local name = string.lower(obj.Name)
            for _,word in pairs(keywords) do
                if name:find(word) then
                    table.insert(destroys,obj:GetFullName())
                    break
                end
            end
        end
        
        for _,v in pairs(obj:GetChildren()) do
            scanremotes(v)
        end
    end
    
    scanremotes(game:GetService("ReplicatedStorage"))
    return destroys
end

local function getrigtype()
    local hasr6 = false
    local hasr15 = false
    
    for _,p in pairs(plrs:GetPlayers()) do
        if p.Character then
            local hum = p.Character:FindFirstChild("Humanoid")
            if hum then
                if hum.RigType == Enum.HumanoidRigType.R6 then
                    hasr6 = true
                elseif hum.RigType == Enum.HumanoidRigType.R15 then
                    hasr15 = true
                end
            end
        end
    end
    
    if hasr6 and hasr15 then
        return "Both R6 and R15"
    elseif hasr6 then
        return "R6 Only"  
    elseif hasr15 then
        return "R15 Only"
    else
        return "Unknown (No players with characters)"
    end
end

local function debug()
    print("==================================================")
    print("GAME DEBUG INFO")
    print("==================================================")
    
    local info = getgameinfo()
    if info then
        print("Game Name: " .. (info.Name or "Unknown"))
        print("Creator: " .. (info.Creator.Name or "Unknown"))
    else
        print("Game Name: " .. (game.Name or "Unknown"))
        print("Creator: Unable to fetch creator info")
    end
    
    print("Place ID: " .. tostring(game.PlaceId))
    print("Job ID: " .. tostring(game.JobId))
    
    local collisions = "Unknown"
    if plr.Character then
        local hum = plr.Character:FindFirstChild("Humanoid")
        if hum then
            collisions = hum.PlatformStand and "Disabled" or "Enabled"
        end
    end
    print("Player Collisions: " .. collisions)
    
    print("Avatar Type: " .. getrigtype())
    
    print("\nPlayers in Server (" .. #plrs:GetPlayers() .. "):")
    for i,p in pairs(plrs:GetPlayers()) do
        print("  " .. i .. ". " .. p.Name .. " (ID: " .. p.UserId .. ")")
    end
    
    print("\nScanning for Admin Panels...")
    local adminpanels = findadmins()
    if #adminpanels > 0 then
        print("Possible Admin Panels Detected: " .. #adminpanels)
    else
        print("No obvious admin panels found")
    end
    
    print("\nScanning for Anticheats...")
    local anticheats = findacs()
    if #anticheats > 0 then
        print("Possible Anticheats Detected: " .. #anticheats)
    else
        print("No obvious anticheats found")
    end
    
    print("\nScanning for Destroy/Delete Remotes...")
    local destroyremotes = finddestroys()
    if #destroyremotes > 0 then
        print("Destroy Related Remotes Found: " .. #destroyremotes)
    else
        print("No destroy-related remotes found")
    end
    
    print("\nAdditional Info:")
    print("Server FPS: " .. math.floor(1/rs.Heartbeat:wait()))
    print("Workspace Gravity: " .. tostring(ws.Gravity))
    print("Workspace StreamingEnabled: " .. tostring(ws.StreamingEnabled))
    
    print("==================================================")
    print("DEBUG SCAN COMPLETE")
    print("==================================================")
end

debug()

Features & Information

prints some small helpful stuff in the console, like r6/R15 default, player collisions enabled/disabled, possible anti cheats and admin panels, players in server, etc. would recommend putting this in your auto exec folder 👍
#debug#print#console#help#helper

Community Comments (8)

DEVSMARTDEVSMARTAug 18, 2025

nice thumbmail 💀

0__00__0adminAug 18, 2025

Unlisted, choose an appropriate thumbnail

Replying to @0__0
4layy4layyAug 19, 2025

@wyvern but david does 🤷‍♂️ (to lazy to do anything rn so give me a week js to reupload ts 🥀)

Replying to @0__0
4layy4layyAug 22, 2025

@wyvern changed it

huu*ho122huu*ho122Aug 24, 2025

How to usr?

huu*ho122huu*ho122Aug 24, 2025

How to use?

huu*ho122huu*ho122Aug 24, 2025

How to use?

Replying to @huu*ho122
4layy4layyAug 28, 2025

@huuho122 brotato, you execute it (or put it in autoexecute) and check the console

More Scripts for Universal Scripts