Speed Script Q Fast E slow
Key RequiredUniversal

Speed Script Q Fast E slow

Universal ScriptKnetixStudiosKnetixStudios 1.1K views 1.9K executesUpdated Jan 27, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•54 lines (1252 chars)
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local speed = 16
local minSpeed = 5
local maxSpeed = 300
local speedStep = 2

local holdingQ = false
local holdingE = false

local function updateSpeed()
    local char = player.Character
    if char and char:FindFirstChild("Humanoid") then
        char.Humanoid.WalkSpeed = speed
    end
end

player.CharacterAdded:Connect(function()
    task.wait(1)
    updateSpeed()
end)

UIS.InputBegan:Connect(function(input, gpe)
    if gpe then return end
    if input.KeyCode == Enum.KeyCode.Q then
        holdingQ = true
    elseif input.KeyCode == Enum.KeyCode.E then
        holdingE = true
    end
end)

UIS.InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.Q then
        holdingQ = false
    elseif input.KeyCode == Enum.KeyCode.E then
        holdingE = false
    end
end)

RunService.RenderStepped:Connect(function()
    if holdingQ then
        speed = math.min(maxSpeed, speed + speedStep)
        updateSpeed()
    elseif holdingE then
        speed = math.max(minSpeed, speed - speedStep)
        updateSpeed()
    end
end)

-- İlk hız
updateSpeed()

Features & Information

local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local speed = 16 local minSpeed = 5 local maxSpeed = 300 local speedStep = 2 local holdingQ = false local holdingE = false local function updateSpeed() local char = player.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid.WalkSpeed = speed end end player.CharacterAdded:Connect(function() task.wait(1) updateSpeed() end) UIS.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.Q then holdingQ = true elseif input.KeyCode == Enum.KeyCode.E then holdingE = true end end) UIS.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.Q then holdingQ = false elseif input.KeyCode == Enum.KeyCode.E then holdingE = false end end) RunService.RenderStepped:Connect(function() if holdingQ then speed = math.min(maxSpeed, speed + speedStep) updateSpeed() elseif holdingE then speed = math.max(minSpeed, speed - speedStep) updateSpeed() end end) -- İlk hız updateSpeed()

Community Comments (1)

Joyful_PizzaPartylJoyful_PizzaPartylJan 27, 2026

Wait You can reduce it so much

More Scripts for Universal Scripts