Console
Key RequiredUniversal

Console

Universal ScriptLordHaxorianLordHaxorian 31.9K views 44 executesUpdated Jul 15, 2024
0.0/ 5(1 votes)
010% Positive
Lua Script•39 lines (1454 chars)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local logEvent = ReplicatedStorage:WaitForChild("LogEvent")

local screenGui = Instance.new("ScreenGui")
local consoleFrame = Instance.new("Frame", screenGui)
consoleFrame.Size = UDim2.new(0.6, 0, 0.5, 0)
consoleFrame.Position = UDim2.new(0.2, 0, 0.2, 0)
consoleFrame.BackgroundColor3 = Color3.new(0, 0, 0)
consoleFrame.BorderSizePixel = 2
consoleFrame.BorderColor3 = Color3.new(0.2, 0.2, 0.2)

local titleLabel = Instance.new("TextLabel", consoleFrame)
titleLabel.Size = UDim2.new(1, 0, 0.1, 0)
titleLabel.Text = "Console logs"
titleLabel.BackgroundColor3 = Color3.new(0, 0.5, 1)
titleLabel.TextColor3 = Color3.new(1, 1, 1)
titleLabel.TextSize = 18
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextStrokeTransparency = 0.5
titleLabel.BorderSizePixel = 0

local logLabel = Instance.new("TextLabel", consoleFrame)
logLabel.Size = UDim2.new(1, 0, 0.9, 0)
logLabel.Position = UDim2.new(0, 0, 0.1, 0)
logLabel.Text = ""
logLabel.BackgroundTransparency = 1
logLabel.TextColor3 = Color3.new(1, 1, 1)
logLabel.TextSize = 14
logLabel.Font = Enum.Font.SourceSans
logLabel.TextWrapped = true
logLabel.TextStrokeTransparency = 0.5
logLabel.TextYAlignment = Enum.TextYAlignment.Top

local function onLogReceived(message)
    logLabel.Text = logLabel.Text .. message .. "\n"
end

logEvent.OnClientEvent:Connect(onLogReceived)
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

Features & Information

Don't skid BTW I'm not good at ui designing so chatgpt is better at design but I made this Gui not gpt

Community Comments (1)

Thirdy_villarinThirdy_villarinApr 29, 2026

How do I use this code?

More Scripts for Universal Scripts