so basically i'm making a server and i need help the code i'm making is that if someone breaks wheat it waits 5 seconds then it's replaced as grown wheat here is the code:
on break of wheat:
cancel drops
set event-block to air
give player (1 + (1 * level of fortune of player's tool)) of nether war
set event-block to wheat