tag @s add blindness_temp
execute as @a[distance=..250,gamemode=!spectator] if score @s ctf_ID = @n[tag=blindness_temp] ctf_ID at @s run function pctf:logic/items/lucky_block/outcomes/negative/team/blindness/give
tag @s remove blindness_temp
playsound minecraft:block.fire.extinguish player @a ~ ~ ~ 4 0
particle minecraft:large_smoke ~ ~ ~ 0 0 0 0.25 1000
tellraw @a[distance=..250] ["",{"selector":"@s","color":"white"},{"text":"'s ","color":"white"},{"text":"team has gone temporarily blind!","color":"aqua"}]