All bugs will get fixed. This was made by MrGaretto's Only One Command tool.
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
INIT: /scoreboard objectives add Money dummy Money
INIT: /scoreboard objectives add Miner stat.mineBlock.minecraft.stone Miner
INIT: /scoreboard objectives add JobMiner dummy JobMiner
INIT: /scoreboard objectives add Lumberjack stat.mineBlock.minecraft.log Lumberjack
INIT: /scoreboard objectives add LJob dummy LJob
/scoreboard players remove @p[score_Miner_min=0,max=10000,score_JobMiner_min=1,max=1] Miner 1
/scoreboard players add @p[score_Miner_min=0,max=0,score_JobMiner_min=1,max=1] Money 1
/scoreboard players remove @p[score_Lumberjack_min=0,max=10000,score_LJob_min=1,max=1] Lumberjack 1
/scoreboard players add @p[score_Lumberjack_min=0,max=0,score_LJob_min=1,max=1] Money 3
/summon MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add LJob dummy LJob",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add Lumberjack stat.mineBlock.minecraft.log Lumberjack",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add JobMiner dummy JobMiner",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add Miner stat.mineBlock.minecraft.stone Miner",Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add Money dummy Money",Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 command_block 0 replace {Command:fill ~ ~ ~1 ~1 ~1 ~1 stone},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 command_block 0 replace {Command:fill ~ ~ ~-1 ~1 ~1 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 command_block 0 replace {Command:"/scoreboard players remove @p[score_Miner_min=0,max=10000,score_JobMiner_min=1,max=1] Miner 1"},Riding:{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 command_block 0 replace {Command:"/scoreboard players add @p[score_Miner_min=0,max=0,score_JobMiner_min=1,max=1] Money 1"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 command_block 0 replace {Command:"/scoreboard players remove @p[score_Lumberjack_min=0,max=10000,score_LJob_min=1,max=1] Lumberjack 1"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 command_block 0 replace {Command:"/scoreboard players add @p[score_Lumberjack_min=0,max=0,score_LJob_min=1,max=1] Money 3"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text1:"{text:\\\"Remove\\\",color:black}",Text2:"{text:\\\"This\\\",color:black}",Text3:"{text:\\\"Amazing\\\",color:aqua,bold:true,underlined:true}",Text4:"{text:\\\"Machine\\\",color:dark_red,clickEvent:{action:\\\"run_command\\\",value:\\\"fill ~ ~-3 ~-2 ~5 ~4 ~2 air\\\"},bold:true}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\\\"==================\\\",color:black,clickEvent:{action:\\\"run_command\\\",value:\\\"/scoreboard players add @p JobMiner 1\\\"}}",Text2:"{text:\\\"Become\\\",color:green}",Text3:"{text:\\\"Miner\\\",color:gray}",Text4:"{text:\\\"==================\\\",color:black}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{text:\\\"================\\\",color:black,clickEvent:{action:\\\"run_command\\\",value:\\\"/scoreboard players add @p LJob 1\\\"}}",Text2:"{text:\\\"Become\\\",color:green}",Text3:"{text:\\\"Lumberjack\\\",color:black}",Text4:"{text:\\\"================\\\",color:black}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~5 ~-1 ~2 stained_glass 3 replace stained_hardened_clay 3,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~5 ~ ~2 stained_hardened_clay 3 hollow,Riding:{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Block:activator_rail,Time:1,Riding:{id:FallingSand,Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}