execute @s[tag=!has.pro.30] ~~~ function task/pro/give30
scoreboard players add @s attr.mgc_lvl 0

tellraw @s[scores={attr.mgc_lvl=8..}] {"rawtext":[{"text":"\n§l§6[§r§6属性面板§l]§r §e法力 §bLevel: §9max \n§7         - 属性加成 §f+80 法力上限 "}]}
execute @s[scores={attr.mgc_lvl=8..}] ~~~ playsound mob.bat.takeoff @a ~~~ 1 1.5

execute @s[scores={attr.mgc_lvl=..7}] ~~~ function attr/magic/up_test