local UIS = game:GetService("UserInputService")
local Player = game:GetService("Players").LocalPlayer
UIS.InputBegan:Connect(function(Input, Processed)
if (Input.KeyCode == Enum.KeyCode.C) and (not Processed) then
repeat
Player.Character.Humanoid.WalkSpeed = 2
task.wait()
until (UIS:IsKeyDown(Enum.KeyCode.C) == false)
Player.Character.Humanoid.WalkSpeed = 23
end
end)