Yep... I am bad at scripting so i don't have a script... :/ But can someone send me any script about how to do it or something? Thanks.
Hey D3LETED_DATA,
local plrs = game:GetService("Players"); -- Players Service local plr = plrs.LocalPlayer; -- Local Player local uis = game:GetService("UserInputService"); -- User Input Service local pressing = false; -- Debounce to decide if the character should be slowingdown or not. local min = 3; -- Minimum amount of speed local inc = .1; -- The amount the speed decreases by while CTRL is held. .1 is smooth slowing. -- Function to make the character slow -- uis.InputBegan:Connect(function(obj, gp) -- Anonymous function for clicking down. if obj.KeyCode == Enum.KeyCode.LeftControl and not gp then -- Checks if CTRL was pressed and checks if it was pressed while typing or not (Won't run if it was pressed while typing in chat.) pressing = true; -- Makes pressing true while pressing == true and wait() do -- While loop that only runs if pressing is true and it waits for 1/30th of a second. local char = plr.Character or plr.CharacterAdded:Wait(); -- The Character local hum = char:FindFirstChild("Humanoid"); -- The Humanoid if hum and hum.WalkSpeed > min then -- Checks if the humanoid exists and the humanoid's speed is more than the minimum speed that it should have. hum.WalkSpeed = hum.WalkSpeed - inc; -- Sets the WalkSpeed to the walkspeed subtracted by the increment. It will eventually end -- end for WalkSpeed checking if statement end -- end for while loop end -- end for if statement that checks what key you pressed and what condition you did so. end) -- end for the anonymous function. -- Function to make the character back to normal -- uis.InputEnded:Connect(function(obj, gp) -- Anonymous function for getting things back to normal. if obj.KeyCode == Enum.KeyCode.LeftControl and not gp then --Checks if the Key is CTRL that you stopped clicking. pressing = false; -- Makes pressing false so the loop that subtracts the speed stops. local char = plr.Character or plr.CharacterAdded:Wait(); -- Character local hum = char:FindFirstChild("Humanoid"); -- Humanoid of the Character hum.WalkSpeed = 16; -- Makes the WalkSpeed the normal speed. end -- end for the if statement to check if you pressed CTRL and the condition it was in. end) -- end for function.
~~ KingLoneCat