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

execute if score out rng matches 1..2 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/boss_troll_leader"} replace
execute if score out rng matches 1..2 run tag @s add troll_leader
execute if score out rng matches 3..3 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/boss_zeldia_king"} replace
execute if score out rng matches 3..3 run tag @s add zeldia_king
execute if score out rng matches 4..4 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/boss_yekc_zeldia_king"} replace
execute if score out rng matches 4..4 run tag @s add yekc_zeldia_king
execute if score out rng matches 5..6 run setblock ~ ~ ~ structure_block{mode:"LOAD",name:"rooms:floor_1/boss_mega_slime"} replace
execute if score out rng matches 5..6 run tag @s add mega_slime
