Universal Script πŸ“Œ
2.4k Views
18 Executions

Debug keybinds for mobile

Universal Script πŸ“Œ
arbsturk
arbsturkPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Open the console after executing it.

View Raw
-- Debug Menu Script with Toggle (Persistent Key Hold)

local Modules = {
    Colors = {
        ["Green"] = "0,255,0",
    }
}

Modules.ChangeColor = function()
    game:GetService("RunService").Heartbeat:Connect(function()
        local devConsole = game:GetService("CoreGui"):FindFirstChild("DevConsoleMaster")
        if devConsole then
            for _, v in pairs(devConsole:GetDescendants()) do
                if v:IsA("TextLabel") then
                    v.RichText = true
                end
            end
        end
    end)
end

Modules.print = function(color, text, size)
    if not Modules.Colors[color] then
        warn("Color was not found!")
        return
    end

    local Text = '<font color="rgb(' .. Modules.Colors[color] .. ')"'
    if size then
        Text = Text .. ' size="' .. tostring(size) .. '"'
    end
    Text = Text .. '>' .. tostring(text) .. '</font>'
    print(Text)
end

-- Display Debug Menu
local function showDebugMenu()
    print("[πŸ› οΈ] DEBUG MENU")
    print("F1: Game Stats")
    print("F2: Graphics Stats")


Comments

1
Log in to join the conversation. Login
LostModel's profile picture
LostModel11 months ago

Set as patched

1

More universal scripts

See all
Script hub
33.1k
298.2k
Bumped 2 hours ago
Script hub
23.7k
5.2k
Bumped 2 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
227
600
Bumped 3 hours ago
Universal Script πŸ“Œ
1.6k
30.3k
Bumped 3 hours ago
Script hub
4.1M
558.8k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.1k
Bumped 4 hours ago
Key System