A penalty kick is taken by the team which has been fouled if the violent act is made in the penalty box . The penalty kick is taken from the penalty mark , which is a midline spot 12 y from the goal . The penalty kick taker ( who does not have to be the player who was fouled ) must be clearly identified to the referee .