Universal Script πŸ“Œ
7.6k Views
56 Executions

A untitled admin script

Universal Script πŸ“Œ
williamarlazaro
williamarlazaroFirst 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

A admin commands of a bar

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

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

Tags

More universal scripts

See all
Script hub
33.0k
298.1k
Bumped 27 minutes ago
Script hub
23.6k
5.2k
Bumped 27 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
174
527
Bumped 57 minutes ago
Universal Script πŸ“Œ
1.6k
30.2k
Bumped 58 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 3 hours ago