on load:
set {bar::list1} to bossbar named "myCoolBar" with title "&aHello &bWorld!" with color bar blue with style segmented 6
on region enter:
if "%event-region%" contains "tcsldp":
add player to bar players of {bar::list1}
on region exit:
if "%event-region%" contains "tcsldp":
remove player from bar players of {bar::list1}
set {bar::list1} to bossbar named "myCoolBar" with title "&aHello &bWorld!" with color bar blue with style segmented 6
on region enter:
if "%event-region%" contains "tcsldp":
add player to bar players of {bar::list1}
on region exit:
if "%event-region%" contains "tcsldp":
remove player from bar players of {bar::list1}