execute as @a[distance=..250] at @s run function pctf:logic/player/potion/invisibility/start {ticks: 240, seconds: 12}
tellraw @a[distance=..250] ["",{"text":"All players have become temporarily ","color":"aqua"},{"text":"invisible","bold":true,"color":"yellow"},{"text":"!","color":"aqua"}]
particle minecraft:instant_effect ~ ~ ~ 1 1 1 0.0001 1000