The idiom ‘Break a leg’ is usually used in theater to wish good luck to actors before they go up on stage.
Example of use: “Danny’s family told him to “break a leg” right before he went up on stage.”