local q=25 local w=Enum.KeyCode.LeftShift UIS.InputBegan:Connect(function(D,s)if not s then if D.UserInputType==Enum.UserInputType.Keyboard and D.KeyCode==w then Humanoid.WalkSpeed=q end end end)UIS.InputEnded:Connect(function(q)if q.UserInputType==Enum.UserInputType.Keyboard and q.KeyCode==w then Humanoid.WalkSpeed=DefaultWalkingSpeed end end)

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)
