In soccer, a goal is scored when the whole of the ball passes over the goal line, between the goalposts and under the crossbar, provided that no offense has been committed by the team scoring the goal. The ball must completely cross the line, and all of the ball must pass all of the goal line for a goal to be awarded. If any part of the ball is still on a plane with the goal line when it is saved, there is no goal awarded. A goal is credited to the team attacking the goal scored upon, regardless of which team actually caused the ball to enter the goal. If the ball hits the frame of the goal and remains in play, play continues. After a goal is scored, play is restarted with a kick-off by the side which conceded the goal. An own goal happens when a player accidentally scores against their own team, and it is credited to the player who knocked the ball into their own net.