Allows you to copy all text straight from the Roblox console (F9 or /console). Great for grabbing script outputs quickly. Nothing fancy, just does the job clean
1local hui=game:GetService("CoreGui")
2local govno=game:GetService("RunService")
3local zalupa=game:GetService("TextService")
4local function penis()
5local dcmaster=hui:FindFirstChild("DevConsoleMaster")
6if not dcmaster then return end
7local dcwindow=dcmaster:FindFirstChild("DevConsoleWindow")
8if not dcwindow then return end
9local dcui=dcwindow:FindFirstChild("DevConsoleUI")
10if not dcui then return end
11local mainview=dcui:FindFirstChild("MainView")
12if not mainview then return end
13local clientlog=mainview:FindFirstChild("ClientLog")
14if not clientlog then return end
15local function addbaton(popka)
16if popka:FindFirstChild("1") then return end
17local baton=Instance.new("TextButton")
18baton.Name="1"
19baton.Size=UDim2.new(0,30,0,20)
20baton.BackgroundTransparency=1
21baton.Text="[C]"
22baton.TextColor3=popka.TextColor3
23baton.Font=popka.Font
24baton.TextSize=popka.TextSize
25baton.TextTransparency=0.5
26baton.TextXAlignment=Enum.TextXAlignment.Left
27baton.Parent=popka
28local conn
29conn=govno.RenderStepped:Connect(function()
30if not baton.Parent then
31conn:Disconnect()
32return
33end
34local tb=popka.TextBounds
35if tb.X>0 then
36baton.AnchorPoint=Vector2.new(0,0.5)
37if string.find(popka.Text,"\n") then
38local last=popka.Text:match("([^\n]*)$")
39local size=zalupa:GetTextSize(last,popka.TextSize,popka.Font,Vector2.new(popka.AbsoluteSize.X,math.huge))
40baton.Position=UDim2.new(0,size.X+5,1,-popka.TextSize/2)
41else
42baton.Position=UDim2.new(0,tb.X+5,0.5,0)
43end
44conn:Disconnect()
45end
46end)
47baton.MouseEnter:Connect(function() baton.TextTransparency=0 end)
48baton.MouseLeave:Connect(function() baton.TextTransparency=0.5 end)
49baton.MouseButton1Click:Connect(function()
50setclipboard(popka.Text)
51baton.Text="[✓]"
52task.wait(0.3)
53baton.Text="[C]"
54end)
55end
56local function findpopka(obj)
57for _,popka in pairs(obj:GetDescendants()) do
58if popka:IsA("TextLabel") and not popka:FindFirstChild("1") then
59addbaton(popka)
60end
61end
62end
63for _,frame in pairs(clientlog:GetChildren()) do
64if frame:IsA("Frame") or frame:IsA("ScrollingFrame") then
65findpopka(frame)
66end
67end
68clientlog.ChildAdded:Connect(function(child)
69task.wait(0.15)
70if child then findpopka(child) end
71end)
72clientlog.DescendantAdded:Connect(function(desc)
73if desc:IsA("TextLabel") and not desc:FindFirstChild("1") then
74task.wait(0.05)
75addbaton(desc)
76end
77end)
78end
79penis()
80local timer=0
81govno.Heartbeat:Connect(function(delta)
82timer=timer+delta
83if timer>1 then
84timer=0
85local m=hui:FindFirstChild("DevConsoleMaster")
86if m and m:FindFirstChild("DevConsoleWindow") then penis() end
87end
88end)