local d=25 local y=Enum.KeyCode.LeftShift UIS.InputBegan:Connect(function(I,t)if not t then if I.UserInputType==Enum.UserInputType.Keyboard and I.KeyCode==y then Humanoid.WalkSpeed=d end end end)UIS.InputEnded:Connect(function(d)if d.UserInputType==Enum.UserInputType.Keyboard and d.KeyCode==y then Humanoid.WalkSpeed=DefaultWalkingSpeed end end)
--< Variables >--
local Speed = 25 -- How fast is the sprinting speed?
local Key = Enum.KeyCode.LeftShift -- Activation Key

UIS.InputBegan:Connect(function(Input, Processed)
	if not Processed then
		if Input.UserInputType == Enum.UserInputType.Keyboard and Input.KeyCode == Key then
			Humanoid.WalkSpeed = Speed
		end
	end
end)

UIS.InputEnded:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.Keyboard and Input.KeyCode == Key then
		Humanoid.WalkSpeed = DefaultWalkingSpeed
	end
end)
