In basketball, if someone on your team shoots the ball and you rebound it then shoot without dribbling who gets the points?
You do!!! You shot the ball.
The rebounder. It doesn't make a lot of sense for the other guy to get the points. He didn't make the basket.
whoever touches it last before it goes in gets the point
whoever gets the ball through the basket is credited with the points
The rebounder made it so he gets the points.