Universal Script 📌
85.6k Views
280 Executions

Console Frame and Toggle 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

Cool thing so u cant type /console anymore if mobile

Updates

  1. Script edited: Create script

View Raw
-- Create the ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "MyUIGui"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create a Frame
local frame = Instance.new("Frame")
frame.Name = "MainFrame"
frame.Size = UDim2.new(0.8, 0, 0.8, 0) -- Increased size for better mobile support
frame.Position = UDim2.new(0.1, 0, 0.1, 0) -- Centered on the screen
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black background
frame.BackgroundTransparency = 0.5 -- Semi-transparent
frame.Active = true
frame.Draggable = false -- Not draggable
frame.Parent = screenGui

-- Create a ScrollingFrame inside the Frame
local scrollingFrame = Instance.new("ScrollingFrame")
scrollingFrame.Name = "ScrollingFrame"
scrollingFrame.Size = UDim2.new(1, 0, 1, 0)
scrollingFrame.CanvasSize = UDim2.new(1, 0, 2, 0) -- Allow space for scrolling
scrollingFrame.ScrollBarThickness = 10
scrollingFrame.BackgroundTransparency = 1 -- Make background transparent
scrollingFrame.Parent = frame

-- Create a TextLabel inside the ScrollingFrame to display messages
local textLabel = Instance.new("TextLabel")
textLabel.Name = "MessageLabel"
textLabel.Size = UDim2.new(1, -10, 2, 0) -- Match the CanvasSize for full scrollable area
textLabel.Position = UDim2.new(0, 5, 0, 0)
textLabel.BackgroundTransparency = 1 -- Make background transparent
textLabel.TextSize = 14 -- Set the text size to be smaller
textLabel.TextWrapped = true
textLabel.TextYAlignment = Enum.TextYAlignment.Top
textLabel.Text = "" -- Initial empty text
textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- White text for contrast
textLabel.Parent = scrollingFrame

-- Create the toggle button
local toggleButton = Instance.new("TextButton")


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
19
1
Approved 26 minutes ago
Universal Script 📌
21
5
Approved 28 minutes ago
Universal Script 📌
13
2
Approved 31 minutes ago
Universal Script 📌
20
0
Approved 36 minutes ago
Paid
Universal Script 📌
15
3
Approved 44 minutes ago
Universal Script 📌
20
1
Approved 52 minutes ago