A ball does not count as scored unless the robot last in contact with the ball was between the truss and the goal. This can be seen in the manual at the start of section 3.1.4 under scoring criteria (letter B). Shame it isn't legal though, full court scoring would make the game way more interesting.
