
KeylessUniversal

-- Speed GUI Script
local Players = game:GetService("Players")
local PlayerGui = Players.LocalPlayer:WaitForChild("PlayerGui")
-- Create GUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "SpeedGUI"
ScreenGui.Parent = PlayerGui
ScreenGui.ResetOnSpawn = false
-- Main Frame
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0.3, 0, 0.4, 0)
MainFrame.Position = UDim2.new(0.35, 0, 0.3, 0)
MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.Parent = ScreenGui
-- Rounded Corners
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 10)
UICorner.Parent = MainFrame
-- Title
local Title = Instance.new("TextLabel")
Title.Text = "Speed GUI"
Title.Font = Enum.Font.GothamBold
Title.TextScaled = true
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Title.Size = UDim2.new(1, 0, 0.2, 0)
Title.Parent = MainFrame
-- Close Button
local CloseButton = Instance.new("TextButton")
CloseButton.Size = UDim2.new(0.15, 0, 0.2, 0)
CloseButton.Position = UDim2.new(0.85, 0, 0, 0)
CloseButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.Font = Enum.Font.GothamBold
CloseButton.TextScaled = true
CloseButton.Parent = MainFrame
-- Minimize Button
local MinimizeButton = Instance.new("TextButton")
MinimizeButton.Size = UDim2.new(0.15, 0, 0.2, 0)
MinimizeButton.Position = UDim2.new(0.7, 0, 0, 0)
MinimizeButton.BackgroundColor3 = Color3.fromRGB(200, 150, 50)
MinimizeButton.Text = "-"
MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeButton.Font = Enum.Font.GothamBold
MinimizeButton.TextScaled = true
MinimizeButton.Parent = MainFrame
-- Speed Input
local SpeedInput = Instance.new("TextBox")
SpeedInput.Size = UDim2.new(0.8, 0, 0.15, 0)
SpeedInput.Position = UDim2.new(0.1, 0, 0.35, 0)
SpeedInput.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
SpeedInput.PlaceholderText = "Enter Walk Speed"
SpeedInput.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedInput.Font = Enum.Font.Gotham
SpeedInput.TextScaled = true
SpeedInput.Parent = MainFrame
-- Apply Button
local ApplyButton = Instance.new("TextButton")
ApplyButton.Size = UDim2.new(0.6, 0, 0.15, 0)
ApplyButton.Position = UDim2.new(0.2, 0, 0.55, 0)
ApplyButton.BackgroundColor3 = Color3.fromRGB(50, 150, 50)
ApplyButton.Text = "Apply Speed"
ApplyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ApplyButton.Font = Enum.Font.GothamBold
ApplyButton.TextScaled = true
ApplyButton.Parent = MainFrame
-- Reset Button
local ResetButton = Instance.new("TextButton")
ResetButton.Size = UDim2.new(0.6, 0, 0.15, 0)
ResetButton.Position = UDim2.new(0.2, 0, 0.75, 0)
ResetButton.BackgroundColor3 = Color3.fromRGB(150, 50, 50)
ResetButton.Text = "Reset Speed"
ResetButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ResetButton.Font = Enum.Font.GothamBold
ResetButton.TextScaled = true
ResetButton.Parent = MainFrame
-- Functionality
local function setSpeed(speed)
local character = Players.LocalPlayer.Character
if character and character:FindFirstChild("Humanoid") then
character.Humanoid.WalkSpeed = speed
else
warn("Character or Humanoid not found!")
end
end
-- Apply Speed Button
ApplyButton.MouseButton1Click:Connect(function()
local speed = tonumber(SpeedInput.Text)
if speed then
setSpeed(speed)
else
warn("Invalid speed value!")
end
end)
-- Reset Speed Button
ResetButton.MouseButton1Click:Connect(function()
setSpeed(16) -- Default Roblox walk speed
end)
-- Minimize Button
local isMinimized = false
MinimizeButton.MouseButton1Click:Connect(function()
isMinimized = not isMinimized
for _, child in ipairs(MainFrame:GetChildren()) do
if child ~= Title and child ~= CloseButton and child ~= MinimizeButton and child:IsA("GuiObject") then
child.Visible = not isMinimized
end
end
MainFrame.Size = isMinimized and UDim2.new(0.3, 0, 0.2, 0) or UDim2.new(0.3, 0, 0.4, 0)
end)
-- Close Button
CloseButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)No comments yet for this script.



