Here you go, enjoy!
options:
quickbreak: "stone" or "dirt" or "grass block" #use same format or will not work
worlds: "world1" or "world2" #same format aswell
on block damage:
if event-block is {@quickbreak}:
player's world is {@worlds}:
wait 1 seconds
set event-block to air