Universal Script 📌
31.9k Views
50 Executions

Console

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

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

Updates

  1. Script edited: Create script

View Raw
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")


Comments

1
Log in to join the conversation. Login
Thirdy_villarin's profile picture
Thirdy_villarin6 months ago

How do I use this code?

1

More universal scripts

See all
Script hub
116.4k
176.1k
Bumped 7 hours ago
Key System
Script hub
14.8k
72.8k
Bumped 7 hours ago
Universal Script 📌
35.6k
1.1M
Bumped 7 hours ago
Universal Script 📌
20.4k
206.2k
Bumped 7 hours ago
Universal Script 📌
4.7k
3.0k
Bumped 9 hours ago