effect give @s levitation 1 40 true
scoreboard players set @s clearL 5
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:1}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:air
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:2}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x1"]'},feather:1}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:3}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x2"]'},feather:2}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:4}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x3"]'},feather:3}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:5}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x4"]'},feather:4}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:6}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x5"]'},feather:5}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:7}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x6"]'},feather:6}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:8}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x7"]'},feather:7}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:9}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x8"]'},feather:8}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:10}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x9"]'},feather:9}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:11}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x10"]'},feather:10}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:12}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x11"]'},feather:11}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:13}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x12"]'},feather:12}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:14}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x13"]'},feather:13}
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag:{Damage:6,feather:15}}},scores={carrot=1..}] run item replace entity @s weapon.mainhand with minecraft:carrot_on_a_stick{Damage:6,HideFlags:63,Unbreakable:1,display:{Name:'[{"translate":"powerup.8.name","color":"white","bold":true,"italic":false}," x14"]'},feather:14}
execute at @s run particle minecraft:end_rod ~ ~1 ~ 0.5 0.5 0.5 0.1 10
execute at @s run playsound minecraft:entity.phantom.flap master @s ~ ~ ~ 1 1
scoreboard players set @s vCharm 20