scoreboard players add @s LavD 1
execute at @s[scores={LavD=300..302}] run kill @e[distance=..200,type=item]
execute at @s[scores={LavD=301..305}] run tp @s[scores={LavD=301..305}] ~ ~-1 ~
execute at @s[scores={LavD=300..305}] run fill ~-80 ~ ~-80 ~80 ~ ~80 nether_wart_block replace bedrock
execute as @s[scores={LavD=426..427}] run function zzzzdonotuse:randomevent/lavadungeonend

scoreboard players add @s NDungItemKill 1
execute if entity @s[scores={NDungItemKill=10..}] run kill @e[type=item,dx=120,dy=60,dz=120]
execute if entity @s[scores={NDungItemKill=10..}] run scoreboard players set @s[scores={NDungItemKill=4..}] NDungItemKill 1
