8. Allow the Player to 'Pick Up' the Blocks They Break
Add a new function 'pickUp' to your Pickaxe code which determines which type of block the player is picking up and adds one to the amount for that block,
Make a new local variable called 'backpack' and set it equal to 'myPlayer.Backpack'. You will use this to check if the player is holding a certain block or not.
Use the 'FindFirstChild()' function on 'backpack' to find the Stone tool block in the player's inventory. Store the result in the 'toolBlock' variable.
If you named your block tool something different, use that instead of 'Stone'.