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)) ]]--