I'm making this game, and in it there is a drill that mines 10 blocks down when you drop it. I want to add 10 points to the scoreboard when that happens, but my problem is that I don't know how to give that specific player that dropped it the points, so this is what I did:
First, I made the objective...
/scoreboard objectives add +10Drill stat.drop.minecraft.double_plant
Then, when you drop a sunflower, it adds 1 point. So I need to know how to detect if a player gets that 1 point, and give 10 points in a different objective.