Custom Color Print
Key RequiredUniversal

Custom Color Print

Universal ScriptVateQVateQ 3K views 6 executesUpdated Dec 26, 2024
5.0/ 5(2 votes)
20100% Positive
Lua Script•28 lines (1556 chars)
getgenv().cprint = function(value, color)
    local printid = tostring(os.time())..'..'..tostring(math.random(100000000,999999999))
    print(value..'-'..printid)
    game:GetService("CoreGui").DevConsoleMaster.DevConsoleWindow.DevConsoleUI.ChildAdded:Connect(function(mainviewname)
        if mainviewname.Name == 'MainView' then
            game:GetService("CoreGui").DevConsoleMaster.DevConsoleWindow.DevConsoleUI.MainView.ChildAdded:Connect(function(ClientLogName)
                if ClientLogName.Name == 'ClientLog' then
                    game:GetService("CoreGui").DevConsoleMaster.DevConsoleWindow.DevConsoleUI.MainView.ClientLog.ChildAdded:Connect(function(child)
                        local msg = child:FindFirstChild("msg")
                        if msg and msg:IsA("TextLabel") and msg.Text:match("%-%-%s*(.*)")==value..'-'..printid then
                            msg.TextColor3 = color
                            msg.Text = msg.Text:match("(.-)%-%-").."-- "..value
                        end
                    end)
                end
            end)
        end
    end)
    game:GetService("CoreGui").DevConsoleMaster.DevConsoleWindow.DevConsoleUI.MainView.ClientLog.ChildAdded:Connect(function(child)
        local msg = child:FindFirstChild("msg")
        if msg and msg:IsA("TextLabel") and msg.Text:match("%-%-%s*(.*)")==value..'-'..printid then
            msg.TextColor3 = color
            msg.Text = msg.Text:match("(.-)%-%-").."-- "..value
        end
    end)
end

cprint("Loaded Successfully", Color3.fromRGB(0,255,0))

Features & Information

cprint("MESSAGE", Color3.fromRGB(0,255,0)) - 20% of the is code made by ai

Community Comments (1)

VateQVateQDec 26, 2024(edited)

since roblox dev console has removing messages system i made this.

More Scripts for Universal Scripts