execute unless entity @s[gamemode=creative] unless items entity @s weapon.mainhand *[custom_data~{wizard_battle:1b}] run item modify entity @s weapon.mainhand pctf:remove1
execute if items entity @s weapon.mainhand *[custom_data~{wizard_battle:1b}] run scoreboard players add @s spell_cooldown3 80
function pctf:logic/items/scrolls/silence_beam/start
function pctf:logic/items/scrolls/silence_beam/start
scoreboard players add @s spell_cooldown3 12
playsound minecraft:block.conduit.deactivate player @a ~ ~ ~ 1 2