test: type: world events: on player joins: - run check on player changes world: - run check check: type: task script: - if != "Hub" { - bossbar remove boss_mine - queue clear } else { - while { - bossbar boss_mine players: "title:Bienvenido <&c>" color:PINK - wait 5s - bossbar update boss_mine players: "title:PUTO TROLO <&c>" color:PINK - wait 5s - bossbar remove boss_mine } }