tellraw @s ["\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"]
tellraw @s[tag=!classless] {"text":"click on your character again to see their skills","italic":true,"color":"gray"}

tellraw @s {"hoverEvent":{"action":"show_text","value":[{"text":"","color":"white"}]},"text":"==Choose Character=="}

execute unless entity @a[tag=gunner] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!gunner] run function main:menu/gunner"},"color":"aqua","hoverEvent":{"action":"show_text","value":[{"text":"Uses dual wielding guns to fight off enemies at medium range.","color":"white"}]},"text":"Gunner"}
execute as @s[tag=!gunner] if entity @a[tag=gunner] run tellraw @s {"bold":true,"color":"#D9D9D9","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken.","color":"#3f3f3f"}]},"text":"❌Gunner❌"}
execute as @s[tag=gunner] if entity @a[tag=gunner] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/gunner/info/info"},"color":"aqua","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Gunner]"}

execute unless entity @a[tag=brawler] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!brawler] run function main:menu/brawler"},"color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Tanky character with lots of AOE damage, low cooldowns and huge health pool. Good for starters, but has some struggles with single-target.","color":"white"}]},"text":"Brawler"}
execute as @s[tag=!brawler] if entity @a[tag=brawler] run tellraw @s {"bold":true,"color":"#3f3f3f","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken","color":"white"}]},"text":"❌Brawler❌"}
execute as @s[tag=brawler] if entity @a[tag=brawler] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/brawler/info/info"},"color":"red","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Brawler]"}


execute unless entity @a[tag=sniper] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!sniper] run function main:menu/sniper"},"color":"green","hoverEvent":{"action":"show_text","value":[{"text":"Weak with high range and massive single-target damage if your aim is good. Has standards.","color":"white"}]},"text":"Sniper"}
execute as @s[tag=!sniper] if entity @a[tag=sniper] run tellraw @s {"bold":true,"color":"#3f3f3f","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken","color":"white"}]},"text":"❌Sniper❌"}
execute as @s[tag=sniper] if entity @a[tag=sniper] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/sniper/info/info"},"color":"green","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Sniper]"}


execute unless entity @a[tag=assassin] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!assassin] run function main:menu/assassin"},"color":"gray","hoverEvent":{"action":"show_text","value":[{"text":"Low HP but a lot of damage and mobility. Has problems with survivability.","color":"white"}]},"text":"Assassin"}
execute as @s[tag=!assassin] if entity @a[tag=assassin] run tellraw @s {"bold":true,"color":"#3f3f3f","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken","color":"white"}]},"text":"❌Assassin❌"}
execute as @s[tag=assassin] if entity @a[tag=assassin] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/assassin/info/info"},"color":"gray","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Assassin]"}


execute unless entity @a[tag=engineer] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!engineer] run function main:menu/engineer"},"color":"yellow","hoverEvent":{"action":"show_text","value":[{"text":"Uses shotgun and sentries for great single-target damage. Has an alternative skillset while in his suit. Can fly, but struggles with horizontal mobility.","color":"white"}]},"text":"Engineer"}
execute as @s[tag=!engineer] if entity @a[tag=engineer] run tellraw @s {"bold":true,"color":"#D9D9D9","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken.","color":"#3f3f3f"}]},"text":"❌Engineer❌"}
execute as @s[tag=engineer] if entity @a[tag=engineer] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/engineer/info/info"},"color":"yellow","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Engineer]"}

execute unless entity @a[tag=archer] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!archer] run function main:menu/archer"},"color":"light_purple","hoverEvent":{"action":"show_text","value":[{"text":"Uses bow and arrows to deal with groups of enemies. Prefers to stay in the air for maximum potential.","color":"white"}]},"text":"Archer"}
execute as @s[tag=!archer] if entity @a[tag=archer] run tellraw @s {"bold":true,"color":"#D9D9D9","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken.","color":"#3f3f3f"}]},"text":"❌Archer❌"}
execute as @s[tag=archer] if entity @a[tag=archer] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/archer/info/info"},"color":"light_purple","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Archer]"}

# execute unless entity @a[tag=knight] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/execute as @s[tag=!knight] run function main:menu/knight"},"color":"#ff7c24","hoverEvent":{"action":"show_text","value":[{"text":"Uses bow and arrows to deal with groups of enemies. Prefers to stay in the air for maximum potential.","color":"white"}]},"text":"Knight"}
# execute as @s[tag=!knight] if entity @a[tag=knight] run tellraw @s {"bold":true,"color":"#D9D9D9","hoverEvent":{"action":"show_text","value":[{"text":"Already Taken.","color":"#ffc039"}]},"text":"❌Knight❌"}
# execute as @s[tag=knight] if entity @a[tag=knight] run tellraw @s {"bold":true,"clickEvent":{"action":"run_command","value":"/function main:characters/knight/info/info"},"color":"#ff7c24","hoverEvent":{"action":"show_text","value":[{"text":"Click to see more information about this character.","color":"white"}]},"text":"[Knight]"}



execute as @s[tag=!classless] run function main:menu/select/chat_2
