Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ImpostorGui = Instance.new("ScreenGui")
- local CustomConsoleBG = Instance.new("Frame")
- local LogsText = Instance.new("TextBox")
- local ClearLogs = Instance.new("TextButton")
- local CopyLogs = Instance.new("TextButton")
- function randomString(leng, seed) --does this even do anything?
- local array = {}
- for i = 0, leng do
- local leNumberPlus = (math.floor((i*6)*(256^2)))
- math.randomseed(seed+leNumberPlus)
- array[i] = string.char(math.random(33, 126))
- end
- return table.concat(array)
- end
- ImpostorGui.Name = randomString(12, 0)
- ImpostorGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- CustomConsoleBG.Name = randomString(12, 40)
- CustomConsoleBG.Parent = ImpostorGui
- CustomConsoleBG.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CustomConsoleBG.BorderColor3 = Color3.fromRGB(255, 0, 0)
- CustomConsoleBG.BorderSizePixel = 2
- CustomConsoleBG.Position = UDim2.new(0.60392499, 0, 0.533521414, 0)
- CustomConsoleBG.Size = UDim2.new(0, 410, 0, 245)
- CustomConsoleBG.Visible = true
- CustomConsoleBG.ZIndex = -1
- LogsText.Name = randomString(12, 41)
- LogsText.Parent = CustomConsoleBG
- LogsText.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- LogsText.BorderColor3 = Color3.fromRGB(255, 0, 0)
- LogsText.BorderSizePixel = 2
- LogsText.Selectable = false
- LogsText.TextEditable = false
- LogsText.Size = UDim2.new(0, 410, 0, 175)
- LogsText.ClearTextOnFocus = false
- LogsText.Font = Enum.Font.Ubuntu
- LogsText.MultiLine = true
- LogsText.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- LogsText.Text = "Logs"
- LogsText.TextColor3 = Color3.fromRGB(255, 0, 0)
- LogsText.TextSize = 14.000
- LogsText.TextWrapped = true
- ClearLogs.Name = randomString(12, 42)
- ClearLogs.Parent = CustomConsoleBG
- ClearLogs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ClearLogs.BackgroundTransparency = 0.850
- ClearLogs.BorderColor3 = Color3.fromRGB(255, 255, 255)
- ClearLogs.Position = UDim2.new(0.546975613, 0, 0.754999995, 0)
- ClearLogs.Size = UDim2.new(0, 150, 0, 50)
- ClearLogs.Font = Enum.Font.Ubuntu
- ClearLogs.Text = "Clear"
- ClearLogs.TextColor3 = Color3.fromRGB(255, 255, 255)
- ClearLogs.TextSize = 16.000
- CopyLogs.Name = randomString(12, 43)
- CopyLogs.Parent = CustomConsoleBG
- CopyLogs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CopyLogs.BackgroundTransparency = 0.850
- CopyLogs.BorderColor3 = Color3.fromRGB(255, 255, 255)
- CopyLogs.Position = UDim2.new(0.0876097605, 0, 0.754999995, 0)
- CopyLogs.Size = UDim2.new(0, 150, 0, 50)
- CopyLogs.Font = Enum.Font.Ubuntu
- CopyLogs.Text = "Copy"
- CopyLogs.TextColor3 = Color3.fromRGB(255, 255, 255)
- CopyLogs.TextSize = 16.000
- local logTable = {}
- local function FMZSUM_fake_script()
- local script = Instance.new("LocalScript", CustomConsoleBG)
- local frame = script.Parent
- local mouse = game:GetService("Players").LocalPlayer:GetMouse()
- local keybind = "q"
- mouse.KeyDown:connect(
- function(key)
- key = key:lower()
- if key == keybind then
- frame.Visible = not frame.Visible
- end
- end
- )
- print("Current keybind is:", keybind)
- end
- coroutine.wrap(FMZSUM_fake_script)()
- local function URYDQKV_fake_script()
- local script = Instance.new("LocalScript", CustomConsoleBG)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position =
- UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(
- function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(
- function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end
- )
- end
- end
- )
- gui.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 input == dragInput and dragging then
- update(input)
- end
- end
- )
- end
- coroutine.wrap(URYDQKV_fake_script)()
- game:GetService("LogService").MessageOut:Connect(
- function(Message)
- repeat
- wait(.1)
- until Message
- logTable[#logTable + 1] = Message
- LogsText.Text = (table.concat(logTable, "\n"))
- for i, v in pairs(logTable) do
- if i == 5 then
- table.remove(logTable, 1)
- end
- end
- end
- )
- ClearLogs.MouseButton1Click:Connect(
- function()
- table.remove(logTable, 4)
- table.remove(logTable, 3)
- table.remove(logTable, 2)
- table.remove(logTable, 1)
- table.remove(logTable)
- wait(.1)
- LogsText.Text = "Logs"
- end
- )
- CopyLogs.MouseButton1Click:Connect(
- function()
- setclipboard(LogsText.Text)
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement