i have this script so far for giving a player an item when a block is mined but i need to add if the pickaxe has fortune so then it gives a random amount with whatever fortune enchant it has, could anyone help with this?
on break of diamond block:
if gamemode of player is survival:
if event-block is diamond block:
give player 5 diamond
clear drops
on break of diamond ore:
if gamemode of player is survival:
if event-block is diamond ore:
give player 1 diamond
clear drops
on break of diamond block:
if gamemode of player is survival:
if event-block is diamond block:
give player 5 diamond
clear drops
on break of diamond ore:
if gamemode of player is survival:
if event-block is diamond ore:
give player 1 diamond
clear drops