
7.6k Views
56 Executions
A untitled admin script
Universal Script π
williamarlazaroFirst script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
A admin commands of a bar
-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CommandGUI"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
-- Create a Frame to hold the GUI elements
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 300, 0, 100)
frame.Position = UDim2.new(0.5, -150, 0.5, -50)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.Parent = screenGui
-- Create a TextBox for input
local commandBox = Instance.new("TextBox")
commandBox.Size = UDim2.new(0, 200, 0, 30)
commandBox.Position = UDim2.new(0, 10, 0, 10)
commandBox.PlaceholderText = "Enter command..."
commandBox.Text = ""
commandBox.Parent = frame
-- Create a Button to execute command
local executeButton = Instance.new("TextButton")
executeButton.Size = UDim2.new(0, 80, 0, 30)
executeButton.Position = UDim2.new(0, 220, 0, 10)
executeButton.Text = "Execute"
executeButton.Parent = frame
-- Variables for flying
local flying = false
local flySpeed = 50
local flyConnection
local function startFly()
if flying then return end
flying = true
local player = game.Players.LocalPlayer
local character = player.Character
if not character then return end
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoidRootPart then return end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







