Text this: Critical-like behavior in foam dynamics: Transition from slip to scraping