Universal Script 📌
3.1k Views
30 Executions

Custom Color Print

Universal Script 📌
VateQ
VateQPublished 10
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

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

Updates

  1. Script edited: Create script

View Raw
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))


Comments

1
Log in to join the conversation. Login
VateQ's profile picture
VateQUploader2 years ago(edited)

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

1

More universal scripts

See all
Universal Script 📌
275
755
Bumped 25 minutes ago
Universal Script 📌
6.9k
319.3k
Bumped 5 hours ago
Script hub
29.4k
243.3k
Bumped 6 hours ago
Script hub
7.0k
101.7k
Bumped 7 hours ago

Script hub

SAGAZx Hub

Script hub
280.2k
190.2k
Bumped 7 hours ago
Key System
Script hub
425
533
Bumped 8 hours ago

Script hub

Blythe