tick1.mcfunction 410 B

1234
  1. scoreboard players add $1tick mem 1
  2. execute if score $1tick mem matches 1 as @e[type=villager,tag=TradePlayer] run data modify entity @s CustomName set value '{"text":"BABA IS MORE"}'
  3. execute if score $1tick mem matches 2 as @e[type=villager,tag=TradePlayer] run data modify entity @s CustomName set value '{"text":"BABA IS LESS"}'
  4. execute if score $1tick mem matches 2 run scoreboard players set $1tick mem 0