local hui=game:GetService("CoreGui")
local govno=game:GetService("RunService")
local zalupa=game:GetService("TextService")
local function penis()
local dcmaster=hui:FindFirstChild("DevConsoleMaster")
if not dcmaster then return end
local dcwindow=dcmaster:FindFirstChild("DevConsoleWindow")
if not dcwindow then return end
local dcui=dcwindow:FindFirstChild("DevConsoleUI")
if not dcui then return end
local mainview=dcui:FindFirstChild("MainView")
if not mainview then return end
local clientlog=mainview:FindFirstChild("ClientLog")
if not clientlog then return end
local function addbaton(popka)
if popka:FindFirstChild("1") then return end
local baton=Instance.new("TextButton")
baton.Name="1"
baton.Size=UDim2.new(0,30,0,20)
baton.BackgroundTransparency=1
baton.Text="[C]"
baton.TextColor3=popka.TextColor3
baton.Font=popka.Font
baton.TextSize=popka.TextSize
baton.TextTransparency=0.5
baton.TextXAlignment=Enum.TextXAlignment.Left
baton.Parent=popka
local conn
conn=govno.RenderStepped:Connect(function()
if not baton.Parent then
conn:Disconnect()
return
end
local tb=popka.TextBounds
if tb.X>0 then
baton.AnchorPoint=Vector2.new(0,0.5)
if string.find(popka.Text,"\n") then
local last=popka.Text:match("([^\n]*)$")
local size=zalupa:GetTextSize(last,popka.TextSize,popka.Font,Vector2.new(popka.AbsoluteSize.X,math.huge))
baton.Position=UDim2.new(0,size.X+5,1,-popka.TextSize/2)
else
baton.Position=UDim2.new(0,tb.X+5,0.5,0)
end
conn:Disconnect()
end
end)
baton.MouseEnter:Connect(function() baton.TextTransparency=0 end)
baton.MouseLeave:Connect(function() baton.TextTransparency=0.5 end)
baton.MouseButton1Click:Connect(function()
setclipboard(popka.Text)
baton.Text="[✓]"
task.wait(0.3)
baton.Text="[C]"
end)
end
local function findpopka(obj)
for _,popka in pairs(obj:GetDescendants()) do
if popka:IsA("TextLabel") and not popka:FindFirstChild("1") then
addbaton(popka)
end
end
end
for _,frame in pairs(clientlog:GetChildren()) do
if frame:IsA("Frame") or frame:IsA("ScrollingFrame") then
findpopka(frame)
end
end
clientlog.ChildAdded:Connect(function(child)
task.wait(0.15)
if child then findpopka(child) end
end)
clientlog.DescendantAdded:Connect(function(desc)
if desc:IsA("TextLabel") and not desc:FindFirstChild("1") then
task.wait(0.05)
addbaton(desc)
end
end)
end
penis()
local timer=0
govno.Heartbeat:Connect(function(delta)
timer=timer+delta
if timer>1 then
timer=0
local m=hui:FindFirstChild("DevConsoleMaster")
if m and m:FindFirstChild("DevConsoleWindow") then penis() end
end
end)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
No comments yet. Be the first to comment!
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)