effect give @s[tag=ResistSpell2,tag=K,tag=!ResistReset] minecraft:resistance 60 0
effect give @s[tag=ResistSpell2,tag=K,tag=!ResistReset,tag=ResistUpgrade2] minecraft:resistance 180 0
effect give @s[tag=ResistSpell2,tag=K,tag=!ResistReset,tag=ResistUpgrade2] minecraft:absorption 180 0
tellraw @s[tag=ResistSpell2,tag=!ResistReset] ["",{"text":"Resistance has been activated!","color":"green"}]
tellraw @s[tag=ResistSpell2,tag=ResistReset] ["",{"text":"You have already used this spell today - You may use it again tomorrow.","color":"yellow"}]
tag @s[tag=ResistSpell2,tag=K,tag=!ResistReset] add ResistReset
scoreboard players set @s[] KyuSpells 0