Advertisement
sirayasiki

アーマースタンドダメージ表示

Aug 25th, 2023 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. on damage:
  2. if attacker is a player:
  3. if victim is not armor stand:
  4. set {damage} to damage * 2
  5. set {_n} to nbt compound from "{Invisible:1b,CustomNameVisible:1b,Small:1b}"
  6. spawn armor stand at victim with nbt {_n}
  7.  
  8. on spawn of a armor stand:
  9. set the name of the event-entity to "&c-%{damage}%"
  10. wait 10 tick
  11. kill the event-entity
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement