clear @s[nbt={SelectedItem:{tag:{Damage:2}}}] carrot_on_a_stick{Damage:2} 1
tag @s[nbt={SelectedItem:{tag:{Damage:1}}}] add temp
clear @s[tag=temp] carrot_on_a_stick{Damage:1} 1
item replace entity @s[tag=temp] weapon.mainhand with carrot_on_a_stick{Damage:2,Unbreakable:1,HideFlags:63,display:{Name:'[{"translate":"powerup.4.name","color":"white","bold":true,"italic":false}," x1"]'}}
tag @a remove temp
tag @s[nbt={SelectedItem:{tag:{Damage:3}}}] add temp
clear @s[tag=temp] carrot_on_a_stick{Damage:3} 1
item replace entity @s[tag=temp] weapon.mainhand with carrot_on_a_stick{Damage:1,Unbreakable:1,HideFlags:63,display:{Name:'[{"translate":"powerup.4.name","color":"white","bold":true,"italic":false}," x2"]'}}
tag @a remove temp
tp @s ~ ~0.3 ~
execute at @s run playsound minecraft:entity.enderman.teleport master @s ~ ~ ~ 1 1