Detect and place back blocks

Is there a way, to:

  • replace a block under the player, and after 5 seconds, back place it to the block there was?

is that somehow not too hard possible ?

Continue to help post