player_title_create: type: task debug: false script: - stop if: - stop if: - spawn entity_hologram save:holo #- spawn armor_stand[marker=true] save:holo - define holo #- invisible <[holo]> state:true - adjust hide_entity:<[holo]> - attach <[holo]> to: offset:0,2.35,0 - flag title:<[holo]> - run player_title_update #- adjust <[holo]> custom_name_visible:true player_title_update: type: task debug: false definitions: name script: - stop if: - stop if: - if : - define txt <&[success]>🛡 - else if : - define txt <&[red]>🗡 - else: - define txt <&[silver]>🗡 - define txt <[name]> if:<[name].exists> - define h_map - define h_map.text <[txt]> - adjust display_entity_data:<[h_map]> #- adjust custom_name:<[txt]> player_title_remove: type: task debug: false script: - stop if: - stop if: - remove - flag title:!