Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if attacker is a player:
- if victim is not armor stand:
- set {damage} to damage * 2
- set {_n} to nbt compound from "{Invisible:1b,CustomNameVisible:1b,Small:1b}"
- spawn armor stand at victim with nbt {_n}
- on spawn of a armor stand:
- set the name of the event-entity to "&c-%{damage}%"
- wait 10 tick
- kill the event-entity
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement