Universal Script 📌
20.0k Views
327 Executions

simple speed GUI

Universal Script 📌
oogish
oogishPublished 5
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 literal speed gui, nothing to it thats it.

View Raw
-- Variables to define the player and UI setup
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

-- Utility function for smooth tween animations
local function createTween(object, tweenInfo, goal)
    local tweenService = game:GetService("TweenService")
    local tween = tweenService:Create(object, tweenInfo, goal)
    tween:Play()
    return tween
end

-- Function to create the UI
local function createUI()
    -- Create the ScreenGui
    local screenGui = Instance.new("ScreenGui")
    screenGui.Parent = player:WaitForChild("PlayerGui")
    screenGui.ResetOnSpawn = false  -- Keep UI across respawns

    -- Create the main UI frame with a grey background
    local mainFrame = Instance.new("Frame")
    mainFrame.Size = UDim2.new(0, 350, 0, 300)  -- Reduced size for a more compact UI
    mainFrame.Position = UDim2.new(0.5, -175, 0.8, -150)
    mainFrame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)  -- Grey background
    mainFrame.BorderSizePixel = 0
    mainFrame.Parent = screenGui

    -- Add rounded corners to the frame
    local UICorner = Instance.new("UICorner")
    UICorner.CornerRadius = UDim.new(0, 15)  -- Slightly smaller corner radius
    UICorner.Parent = mainFrame

    -- Fade-in effect for the entire frame
    mainFrame.BackgroundTransparency = 1
    createTween(mainFrame, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {BackgroundTransparency = 0})

    -- Add a title label with a glowing effect
    local titleLabel = Instance.new("TextLabel")
    titleLabel.Size = UDim2.new(1, 0, 0, 35)
    titleLabel.Position = UDim2.new(0, 0, 0, 10)


Comments

4
Log in to join the conversation. Login
The8man8in8blue's profile picture
The8man8in8blue2 years ago(edited)

Its a nice script

2
oogish's profile picture
oogishUploader2 years ago(edited)

yea just a speed script

0
fanumskibidi's profile picture
fanumskibidi2 years ago(edited)

lil bro disliked my comment

-1
fanumskibidi's profile picture
fanumskibidi2 years ago(edited)

chatgpt!

-1

Tags

More universal scripts

See all
Universal Script 📌
28.3k
663.4k
Bumped 1 hour ago
Script hub
13.5k
2.7k
Bumped 3 hours ago
Key System
Paid
Script hub
263.2k
88.1k
Bumped 4 hours ago
Key System
Universal Script 📌
2.4k
9.4k
Bumped 5 hours ago
Universal Script 📌
297
32
Approved 5 hours ago
Universal Script 📌
317
27
Approved 5 hours ago
Universal Script 📌
348
9
Approved 5 hours ago