tag @a remove choice
tag @a add reward_choice
tellraw @a ["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"]

execute as @a store result score .gold_random arena run random value 200..250

tellraw @a {"bold":false,"color":"green","hoverEvent":{"action":"show_text","value":[{"text":"You can only choose one."}]},"italic":true,"text":"Choose Wisely"}

kill @e[type=armor_stand,tag=reward]
fill -69 5 11 -69 9 13 air
kill @e[type=item,tag=artifact,x=-53,y=5,z=8,dx=0]
kill @e[type=item,tag=artifact,x=-53,y=5,z=12,dx=0]
kill @e[type=item,tag=artifact,x=-53,y=5,z=16,dx=0]
setblock -54 7 8 barrier
setblock -54 6 8 barrier
setblock -54 5 8 smooth_stone_slab
setblock -54 7 12 barrier
setblock -54 6 12 barrier
setblock -54 5 12 smooth_stone_slab
setblock -54 7 16 barrier
setblock -54 6 16 barrier
setblock -54 5 16 smooth_stone_slab
execute positioned -53 5 8 run summon armor_stand ~ ~ ~ {Silent:1b,Invulnerable:1b,Invisible:1b,Tags:["reward_1","reward"]}
execute positioned -53 5 12 run summon armor_stand ~ ~ ~ {Silent:1b,Invulnerable:1b,Invisible:1b,Tags:["reward_1","reward"]}
execute positioned -53 5 16 run summon armor_stand ~ ~ ~ {Silent:1b,Invulnerable:1b,Invisible:1b,Tags:["reward_1","reward"]}

summon text_display -69 8 12 {alignment:center,billboard:"center",Rotation:[90F,0F],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f]},text:'{"bold":true,"color":"green","text":"LEAVE"}'}

function main:dialog/id/room/relic/check

schedule function main:game/stage_end/reward/random_start 5t