In my day behavior like this would have got you escorted to the office where you sat in the hallway for hours while they called your parents to come get you. Then probably a 3 day suspension.
In my day it would have been a warning and then the paddle. Warnings would have worked for most students and probably still would today if the students knew a warning would be followed by punishment from a teacher and/or principal.