
3.1k Views
8 Executions
Custom Color Print
Universal Script 📌
VateQPublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo 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
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))









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