scoreboard players set min rng 1
scoreboard players set max rng 2
function rng:interval

execute if score out rng matches 1..1 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/trapped_spike_parkour"} replace
execute if score out rng matches 1..1 run tag @s add spike_parkour
execute if score out rng matches 2..2 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/trapped_spike_laberint"} replace
execute if score out rng matches 2..2 run tag @s add spike_laberint
