Color Print
Key RequiredUniversal

Color Print

Universal ScriptInfiInfi 2.6K views 23 executesUpdated May 29, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•36 lines (1267 chars)
getgenv().cprint = function(text, color)
    local printId = "##" .. tostring(math.random(1, 1e9))
    print(text .. " " .. printId)

    task.spawn(function()
        local DevConsole = game:GetService("CoreGui").DevConsoleMaster.DevConsoleWindow.DevConsoleUI
        local ClientLog = DevConsole.MainView.ClientLog

        for _, child in ipairs(ClientLog:GetChildren()) do
            local msg = child:FindFirstChild("msg")
            if msg and msg.Text:find(printId) then
                msg.TextColor3 = color
                msg.Text = msg.Text:gsub(printId, "")
                return
            end
        end

        local connection
        connection = ClientLog.ChildAdded:Connect(function(child)
            local msg = child:FindFirstChild("msg")
            if msg and msg.Text:find(printId) then
                msg.TextColor3 = color
                msg.Text = msg.Text:gsub(printId, "")
                connection:Disconnect()
            end
        end)
    end)
end

-- add your prints here using cprint, i will probably add some here for you to use idk

--[[
cprint("Successfully loaded!", Color3.fromRGB(0, 255, 0))
cprint("Warning: Low memory", Color3.fromRGB(255, 165, 0))
cprint("Error: Script failed", Color3.fromRGB(255, 0, 0))
]]--

Features & Information

Just prints in a custom color of your choice in RGB color layouts REQUIRES AN EXECUTOR WITH getgenv() AND cprint FUNCTIONS

Community Comments (6)

unskiddedunskiddedMay 29, 2025

cool

InfiInfiMay 29, 2025

thanks @rscriptswarlord69

usersshahausersshahaMay 29, 2025

What executor are you using?

InfiInfiMay 30, 2025

Lyric, https://discord.gg/HfcmMZN9jp

purplesstratpurplesstratMay 31, 2025

is it stolen? i've seen the same script.

InfiInfiMay 31, 2025

i dont steal scripts.

More Scripts for Universal Scripts