
KeylessUniversal

local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local CoreGui = game:GetService("CoreGui")
local govno = game:GetService("RunService")
local zalupa = game:GetService("TextService")
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ConsoleButton"
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = CoreGui
local Button = Instance.new("TextButton")
Button.Name = "Button"
Button.Parent = ScreenGui
Button.BorderSizePixel = 0
Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Button.BackgroundTransparency = 0.15
Button.Size = UDim2.new(0, 49, 0, 49)
Button.Position = UDim2.new(0, 25, 0, 8)
Button.Text = ""
Button.Active = true
Button.Draggable = true
local Icon = Instance.new("ImageLabel")
Icon.Name = "Icon"
Icon.Parent = Button
Icon.BorderSizePixel = 0
Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Icon.BackgroundTransparency = 1
Icon.AnchorPoint = Vector2.new(0.5, 0.5)
Icon.Position = UDim2.new(0.5, 0, 0.5, 0)
Icon.Size = UDim2.new(0, 27, 0, 27)
Icon.Image = "rbxassetid://106783148545356"
local UICorner = Instance.new("UICorner")
UICorner.Parent = Button
UICorner.CornerRadius = UDim.new(0, 17)
local Dragging = false
local DragInput
local DragStart
local StartPos
local DragMoved = false
local function Update(Input)
local Delta = Input.Position - DragStart
if math.abs(Delta.X) > 5 or math.abs(Delta.Y) > 5 then
DragMoved = true
end
Button.Position = UDim2.new(
StartPos.X.Scale,
StartPos.X.Offset + Delta.X,
StartPos.Y.Scale,
StartPos.Y.Offset + Delta.Y
)
end
Button.InputBegan:Connect(function(Input)
if Input.UserInputType == Enum.UserInputType.MouseButton1
or Input.UserInputType == Enum.UserInputType.Touch then
Dragging = true
DragMoved = false
DragStart = Input.Position
StartPos = Button.Position
Input.Changed:Connect(function()
if Input.UserInputState == Enum.UserInputState.End then
Dragging = false
if not DragMoved then
StarterGui:SetCore("DevConsoleVisible", true)
end
end
end)
end
end)
Button.InputChanged:Connect(function(Input)
if Input.UserInputType == Enum.UserInputType.MouseMovement
or Input.UserInputType == Enum.UserInputType.Touch then
DragInput = Input
end
end)
UserInputService.InputChanged:Connect(function(Input)
if Dragging and Input == DragInput then
Update(Input)
end
end)
local function penis()
local dcmaster = CoreGui: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 = "[Copy]"
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 = CoreGui:FindFirstChild("DevConsoleMaster")
if m and m:FindFirstChild("DevConsoleWindow") then penis() end
end
end)No comments yet for this script.



