Here is the passage again:
Whenever Coach Moody sees behavior that she does not
like—either on or off the court. The members of the girls'
basketball team pay during the next practice. When Frankie was caught smooching
her boyfriend Larry in the hallway, everyone had to run two extra miles
that afternoon.
The first part is a subordinate clause fragment. The subordinate conjunctions whenever and that keep the subjects and verbs from expressing a complete thought.