Universal Script 📌
31.9k Views
73 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_villarin7 months ago

How do I use this code?

1

More universal scripts

See all
Universal Script 📌
102
477
Bumped 6 minutes ago
Universal Script 📌
1.5k
30.2k
Bumped 7 minutes ago
Script hub
4.1M
558.4k
Bumped 30 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 1 hour ago
Key System
Script hub
14.0k
28.4k
Bumped 2 hours ago
Universal Script 📌
339.0k
74.9k
Bumped 3 hours ago
Script hub
462.0k
989.7k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!