-- Check if shift key, mobile sprint button, or Xbox gamepad button is being held down

local function checkSprintKeyDown()
	if UserInputService.TouchEnabled then
		return true
	elseif UserInputService.GamepadEnabled then
		return UserInputService:IsGamepadButtonDown(Enum.UserInputType.Gamepad1, Enum.KeyCode.ButtonL2)
	else
		return UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)
	end
end
