Can someone help me with a skript for shovels with fortune? I know nothing about skript and this is all I have.
command /createshovel <integer>:
trigger: give player 1 of diamond shovel with fortune {integer} set nbt {fortune} of player's tool to {integer}
on break:
lore of player's tool contains "Fortune": cancel event set {_c} to a random number between 1 and nbt {fortune} of player's tool drop {_c} of event-block at location of event-block