team join blue
tellraw @s {"text":"You joined the blue team!","color":"blue"}
playsound minecraft:ui.loom.select_pattern player @s ~ ~ ~ 1 1
scoreboard players set @s ctf_ID 1
tag @s remove temp_on_red