All-Star Games Section 23 (a). No student shall be permitted to participate in an all-star game unless it is sanctioned by the TSSAA and unless he/she has completed high school eligibility in that sport; (b) no individual player is allowed to participate in more than two sanctioned all-star contests during the school year; and (c) any student who fails to comply with the preceding requirements loses athletic eligibility for a period of time to be determined by the Board of Control. This rule reflects the present NCAA rule involving all-star games and is designed to parallel those regulations. If a student-athlete withdraws from school and participates in an All-Star game prior to completing their high school eligibility in that sport, he or she will be ineligible to participate in that sport twelve months past the date of the All-Star game. An all-star game is defined as any contest (where admission is charged either directly or indirectly) in which one or both teams is composed of players selected from two or more regularly constituted teams. This regulation does not apply to summer baseball and girls softball. Any all-star game involving TSSAA athletes must be sanctioned by the TSSAA. A filing fee of $250.00 is required for the game to be considered for sanctioning. If the game is approved then an additional approval fee of $750.00 is required. If the request is denied, then all fees shall be refunded. This fee is required annually for games involving groups not affiliated with the TSSAA. No member school shall permit use of its equipment, facilities, or of its employees, directly or indirectly, in the management, coaching, officiating, supervision, or promotion of player selection of any unsanctioned all-star team or contest during the school year.
The part in bold answers your question.
there is no set penalty. each case is decided by the board of control.