i have made a skript to replace blocks mined with bedrock and then back to a random block but sometimes the bedrock does not change back. how can I fix this?
Code:
on break:
player is in world "world_nether"
set event-block to bedrock
wait 5 seconds
chance of 2%:
set event-block to ancient debris
chance of 10%:
set event-block to nether gold ore
chance of 10%:
set event-block to nether quartz ore
chance of 8%:
set event-block to magma block
chance of 70%:
set event-block to netherrack