Universal Script 📌
1.2k Views
2.1k Executions

Speed Script Q Fast E slow

Universal Script 📌
KnetixStudios
KnetixStudiosFirst script
9 months 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

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()

View Raw


Comments

1
Log in to join the conversation. Login
Joyful_PizzaPartyl's profile picture
Joyful_PizzaPartyl9 months ago

Wait You can reduce it so much

1

More universal scripts

See all
Script hub
158.2k
1.1M
5 months ago
Key System

Script hub

#6 this week

Verified script badgeRift Hub | 20+ Games, Auto Farms & Updates

Universal Script 📌
2.4k
3.9k
1 month ago
Script hub
56.0k
184.9k
2 months ago
Key System