execute if entity @e run tellraw @s [{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Skip to Phase","color":"gray"},{"text":"\n Changes the infinite block to a selected phase!\n","color":"white"}]

execute if entity @e[scores={gz-a4-riot=1..47}] run tellraw @s [{"text":"  "},{"text":"Tutorial","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-counter=1..47}] run tellraw @s [{"text":"  "},{"text":"[Tutorial]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-00"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=49..332}] run tellraw @s [{"text":"  "},{"text":"Phase 1: The Plains","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=49..332}] run tellraw @s [{"text":"  "},{"text":"[Phase 1: The Plains]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-01"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=334..863}] run tellraw @s [{"text":"  "},{"text":"Phase 2: The Underground","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=334..863}] run tellraw @s [{"text":"  "},{"text":"[Phase 2: The Underground]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-02"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=865..1686}] run tellraw @s [{"text":"  "},{"text":"Phase 3: Icy Tundra","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=865..1686}] run tellraw @s [{"text":"  "},{"text":"[Phase 3: Icy Tundra]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-03"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=1688..2552}] run tellraw @s [{"text":"  "},{"text":"Phase 4: Deepslate Caves","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=1688..2552}] run tellraw @s [{"text":"  "},{"text":"[Phase 4: Deepslate Caves]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-04"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=2554..3310}] run tellraw @s [{"text":"  "},{"text":"Phase 5: LushDrip Caves","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=2554..3310}] run tellraw @s [{"text":"  "},{"text":"[Phase 5: LushDrip Caves]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-05"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=3312..4172}] run tellraw @s [{"text":"  "},{"text":"Phase 6: Ocean Floor","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=3312..4172}] run tellraw @s [{"text":"  "},{"text":"[Phase 6: Ocean Floor]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-06"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=4174..5129}] run tellraw @s [{"text":"  "},{"text":"Phase 7: Red Desert","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=4174..5129}] run tellraw @s [{"text":"  "},{"text":"[Phase 7: Red Desert]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-07"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=5131..5950}] run tellraw @s [{"text":"  "},{"text":"Phase 8: Jungle Dungeon","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=5131..5950}] run tellraw @s [{"text":"  "},{"text":"[Phase 8: Jungle Dungeon]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-08"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=5952..6762}] run tellraw @s [{"text":"  "},{"text":"Phase 9: Mangrove Swamp","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=5952..6762}] run tellraw @s [{"text":"  "},{"text":"[Phase 9: Mangrove Swamp]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-09"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=6764..7611}] run tellraw @s [{"text":"  "},{"text":"Phase 10: The Nether","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=6764..7611}] run tellraw @s [{"text":"  "},{"text":"[Phase 10: The Nether]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-10"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=7613..8622}] run tellraw @s [{"text":"  "},{"text":"Phase 11: Idyll","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=7613..8622}] run tellraw @s [{"text":"  "},{"text":"[Phase 11: Idyll]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-11"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=8624..9452}] run tellraw @s [{"text":"  "},{"text":"Phase 12: The Deepdark","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=8624..9452}] run tellraw @s [{"text":"  "},{"text":"[Phase 12: The Deepdark]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-12"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=9454..10218}] run tellraw @s [{"text":"  "},{"text":"Phase 13: Desolated Lands","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=9454..10218}] run tellraw @s [{"text":"  "},{"text":"[Phase 13: Desolated Lands]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-13"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e[scores={gz-a4-riot=10220..11235}] run tellraw @s [{"text":"  "},{"text":"Phase 14: The End","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=10220..11235}] run tellraw @s [{"text":"  "},{"text":"[Phase 14: The End]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-14"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]

execute if entity @e[scores={gz-a4-riot=11237..}] run tellraw @s [{"text":"  "},{"text":"The Afterphases","color":"white","italic":"true"}]
execute if entity @e unless entity @e[tag=gz-a4-block,scores={gz-a4-riot=11237..}] run tellraw @s [{"text":"  "},{"text":"[The Afterphases]","color":"gold","clickEvent":{"action":"run_command","value":"/function gamerz_riot:menu/skip-to-phase-15"},"hoverEvent":{"action":"show_text","value":"Click to skip\nto this phase!"}}]
execute if entity @e run tellraw @s [{"text":"\n "},{"text":"[Back]","color":"red","clickEvent":{"action":"run_command","value":"/trigger gz-a4 set 1"},"hoverEvent":{"action":"show_text","value":"Click to go back."}},{"text":"\n"}]