## Save our rabbit type
execute unless entity @s[nbt={RabbitType:99}] store result score @s vb.entity.rabbit_type run data get entity @n[type=rabbit] RabbitType

## Become the Killer Bunny
data merge entity @s {RabbitType:99}
attribute @s minecraft:armor base set 8

## Revoke this name tag is required
execute unless entity @s[name='The Killer Bunny'] store result entity @s RabbitType int 1 run scoreboard players get @s vb.entity.rabbit_type
execute unless entity @s[name='The Killer Bunny'] run attribute @s minecraft:armor base set 0
execute unless entity @s[name='The Killer Bunny'] run tag @s remove vb.name_tag.the_killer_bunny