
Key RequiredUniversal

-- Create ScreenGui
local speedHub = Instance.new("ScreenGui")
speedHub.Name = "SpeedHub"
speedHub.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
speedHub.ResetOnSpawn = false
-- Create Frame
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Parent = speedHub
mainFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
mainFrame.BorderSizePixel = 0
mainFrame.Size = UDim2.new(0, 300, 0, 150)
mainFrame.Position = UDim2.new(0.5, -150, 0.5, -75)
mainFrame.Active = true
mainFrame.Draggable = true
-- Create Title
local title = Instance.new("TextLabel")
title.Name = "Title"
title.Parent = mainFrame
title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
title.Size = UDim2.new(1, 0, 0, 30)
title.Font = Enum.Font.SourceSansBold
title.Text = "Speed Hub"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextSize = 20
-- Create Textbox
local speedBox = Instance.new("TextBox")
speedBox.Name = "SpeedBox"
speedBox.Parent = mainFrame
speedBox.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
speedBox.Position = UDim2.new(0.1, 0, 0.4, 0)
speedBox.Size = UDim2.new(0.8, 0, 0.2, 0)
speedBox.Font = Enum.Font.SourceSans
speedBox.PlaceholderText = "Enter speed (1-900)"
speedBox.Text = ""
speedBox.TextColor3 = Color3.fromRGB(255, 255, 255)
speedBox.TextSize = 18
-- Create Button
local applyButton = Instance.new("TextButton")
applyButton.Name = "ApplyButton"
applyButton.Parent = mainFrame
applyButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
applyButton.Position = UDim2.new(0.3, 0, 0.7, 0)
applyButton.Size = UDim2.new(0.4, 0, 0.2, 0)
applyButton.Font = Enum.Font.SourceSansBold
applyButton.Text = "Apply"
applyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
applyButton.TextSize = 18
-- Script Functionality
applyButton.MouseButton1Click:Connect(function()
local speed = tonumber(speedBox.Text)
if speed and speed > 0 and speed <= 900 then
local character = game.Players.LocalPlayer.Character
if character and character:FindFirstChild("Humanoid") then
character.Humanoid.WalkSpeed = speed
end
else
speedBox.Text = "Invalid speed!"
wait(1)
speedBox.Text = ""
end
end)



Made by Chatgpt