team join lobby
tag @s remove end_game
tag @s[name=!phaic] remove dev
tellraw @s {"text":"You left your team!","color":"dark_gray"}
playsound minecraft:ui.loom.select_pattern player @s ~ ~ ~ 1 1
scoreboard players set @s ctf_ID 0