effect give @s[tag=InvisSpell2,tag=K,tag=!InvisReset] minecraft:invisibility 60 0
effect give @s[tag=InvisSpell2,tag=K,tag=!InvisReset,tag=InvisUpgrade2] minecraft:invisibility 240 0
tellraw @s[tag=InvisSpell2,tag=!InvisReset] ["",{"text":"Invisibility has been activated!","color":"green"}]
tellraw @s[tag=InvisSpell2,tag=InvisReset] ["",{"text":"You have already used this spell today - You may use it again tomorrow.","color":"yellow"}]
tag @s[tag=InvisSpell2,tag=K,tag=!InvisReset] add InvisReset
scoreboard players set @s KyuSpells 0



execute if entity @e[type=marker,distance=..40,tag=KyuBigPyramid] run tellraw @s[tag=InvisSpell2] ["",{"text":"P.S. - Invisibility doesn't help you against the plethora of traps that await you in here.","color":"gold"}]