What happens if the ball hits the ceiling?
Under FIVB rules, a ball that touches the ceiling (or any object above or around the court, such as a basketball hoop, beam or light) is out, a fault by the team that last touched it.
This is why international halls must have at least 7 m of clear height (12.5 m for FIVB competitions): high sets and big digs need room.
Many school and recreational gyms are lower, so local rules often differ. Some leagues allow a ball that touches the ceiling on your own side to stay in play if your team still has hits left. Always check the house rules before the match starts.