gamerule sendCommandFeedback false

execute if score #KyuStructureChance KyuDummy matches 1 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Rare (25%)","color":"#C42E21"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 2 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Very Uncommon (50%)","color":"#E28B00"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 3 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Uncommon (75%)","color":"#E2E051"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 4 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Default (100%)","color":"#6DC436"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 5 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Common (133%)","color":"#00C4A3"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 6 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Very Common (166%)","color":"#38C2C4"},{"text":". Click on the desired rarity below:","color":"yellow"}]
execute if score #KyuStructureChance KyuDummy matches 7 run tellraw @s ["",{"text":"Structure Rarity is set to","color":"yellow"},{"text":"","color":"yellow"},{"text":" Abundant (200%)","color":"#018AC4"},{"text":". Click on the desired rarity below:","color":"yellow"}]

tellraw @s {"text":"[Rare (25%)] ","bold":false,"color":"#C42E21","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangerare"}}
tellraw @s {"text":"[Very Uncommon (50%)] ","bold":false,"color":"#E28B00","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangeveryuncommon"}}
tellraw @s {"text":"[Uncommon (75%)] ","bold":false,"color":"#E2E051","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangeuncommon"}}
tellraw @s {"text":"[Default (100%)] ","bold":false,"color":"#6DC436","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangedefault"}}
tellraw @s {"text":"[Common (133%)] ","bold":false,"color":"#00C4A3","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangecommon"}}
tellraw @s {"text":"[Very Common (166%)] ","bold":false,"color":"#38C2C4","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangeverycommon"}}
tellraw @s {"text":"[Abundant (200%)] ","bold":false,"color":"#018AC4","clickEvent":{"action":"run_command","value":"/function zzzzdonotuse:misc/configandstuff/raritychangeabundant"}}

execute in overworld run setblock 999998 122 999981 command_block[facing=up]{auto:1b,Command:"gamerule sendCommandFeedback true",TrackOutput:0} destroy