scoreboard players operation @s magus_spell_tier_1 = @a[scores={limitbreak_chosen_class=5},limit=1,sort=random,tag=magus_casted_spell_tier_1] magus_spell_tier_1
function kiwi2:upgrades/classes/magus/spells/tier_1/tier_1_spell_cast_rotation
kill @s