Speed modifier
Key RequiredUniversal

Speed modifier

Universal ScriptScripterLollzScripterLollz 927 views 343 executesUpdated Dec 8, 2025
Unrated
00
Lua Script•140 lines (4073 chars)
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")

local localPlayer = Players.LocalPlayer
local playerGui = localPlayer:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SpeedControlGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 340, 0, 150)
frame.Position = UDim2.new(0, 20, 0, 20)
frame.BackgroundColor3 = Color3.fromRGB(35, 35, 40)
frame.BorderSizePixel = 0
frame.Parent = screenGui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
title.BorderSizePixel = 0
title.Text = "Speed Hub"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 20
title.Parent = frame

local speedLabel = Instance.new("TextLabel")
speedLabel.Size = UDim2.new(0, 80, 0, 25)
speedLabel.Position = UDim2.new(0, 10, 0, 45)
speedLabel.BackgroundTransparency = 1
speedLabel.Text = "Speed:"
speedLabel.TextColor3 = Color3.fromRGB(200,200,200)
speedLabel.Font = Enum.Font.Gotham
speedLabel.TextSize = 16
speedLabel.Parent = frame

local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(0, 100, 0, 25)
speedBox.Position = UDim2.new(0, 90, 0, 45)
speedBox.BackgroundColor3 = Color3.fromRGB(70,70,70)
speedBox.TextColor3 = Color3.fromRGB(255,255,255)
speedBox.Font = Enum.Font.Gotham
speedBox.TextSize = 16
speedBox.Text = "16"
speedBox.ClearTextOnFocus = false
speedBox.Parent = frame

local multiplyBtn = Instance.new("TextButton")
multiplyBtn.Size = UDim2.new(0, 60, 0, 30)
multiplyBtn.Position = UDim2.new(0, 200, 0, 40)
multiplyBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 120)
multiplyBtn.Text = "×2"
multiplyBtn.TextColor3 = Color3.fromRGB(255,255,255)
multiplyBtn.Font = Enum.Font.Gotham
multiplyBtn.TextSize = 16
multiplyBtn.Parent = frame

local divideBtn = Instance.new("TextButton")
divideBtn.Size = UDim2.new(0, 60, 0, 30)
divideBtn.Position = UDim2.new(0, 270, 0, 40)
divideBtn.BackgroundColor3 = Color3.fromRGB(120, 70, 70)
divideBtn.Text = "÷2"
divideBtn.TextColor3 = Color3.fromRGB(255,255,255)
divideBtn.Font = Enum.Font.Gotham
divideBtn.TextSize = 16
divideBtn.Parent = frame

local resetBtn = Instance.new("TextButton")
resetBtn.Size = UDim2.new(0, 120, 0, 30)
resetBtn.Position = UDim2.new(0, 200, 0, 75)
resetBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
resetBtn.Text = "Reset to Default"
resetBtn.TextColor3 = Color3.fromRGB(255,255,255)
resetBtn.Font = Enum.Font.Gotham
resetBtn.TextSize = 16
resetBtn.Parent = frame

local speedEnabled = false
local customSpeed = 16
local defaultSpeed = 16

local function applySpeed()
    local char = localPlayer.Character
    if char then
        local hum = char:FindFirstChildOfClass("Humanoid")
        if hum then
            hum.WalkSpeed = customSpeed
        end
    end
end

UIS.InputBegan:Connect(function(input, processed)
    if processed then return end
    if input.KeyCode == Enum.KeyCode.E then
        speedEnabled = not speedEnabled
        if speedEnabled then
            applySpeed()
        else
            customSpeed = defaultSpeed
            applySpeed()
        end
    end
end)

multiplyBtn.MouseButton1Click:Connect(function()
    customSpeed = customSpeed * 2
    speedBox.Text = tostring(customSpeed)
    applySpeed()
end)

divideBtn.MouseButton1Click:Connect(function()
    customSpeed = math.max(1, customSpeed / 2)
    speedBox.Text = tostring(customSpeed)
    applySpeed()
end)

resetBtn.MouseButton1Click:Connect(function()
    customSpeed = defaultSpeed
    speedBox.Text = tostring(customSpeed)
    applySpeed()
end)

speedBox.FocusLost:Connect(function()
    local num = tonumber(speedBox.Text)
    if num and num > 0 then
        customSpeed = num
        applySpeed()
    else
        speedBox.Text = tostring(customSpeed)
    end
end)

localPlayer.CharacterAdded:Connect(function()
    customSpeed = defaultSpeed
    speedBox.Text = tostring(customSpeed)
    task.wait(0.1)
    applySpeed()
end)

Features & Information

Basic speed changer, thats it. -Toggle on and off -Change walkspeed Update: -Multiply/Fraction speed adjustments -Continuous increasing function
#Speed#Speed exploit

Community Comments (2)

santaisantaiDec 15, 2025

Add a multiply function or fractions in maths

santaisantaiDec 15, 2025

Continuous increasing function

More Scripts for Universal Scripts