command /testbossbar:
trigger:
set {_ba} to boss bar with id "le-bar" with title "Le Title" with color pink with progress 50
add all players to {_ba}
send "Boss bar created." to player
wait 5 seconds
hide {_ba}
delete {_ba}
send "boss bar has been removed" to player
I would appreciate your help.