loop all players:
if player's offhand tool is white stained glass named "&f&lInvisibility &7&lStone" with lore "&f&lHold In Offand To Be Granted The Power Of Invisibility":
apply Invisibility 1 to player for 999 days
else:
remove Invisibility from the player
command /InvisStoneTest:
trigger:
give player white stained glass named "&f&lInvisibility &7&lStone" with lore "&f&lHold In Offand To Be Granted The Power Of Invisibility"
if player's offhand tool is white stained glass named "&f&lInvisibility &7&lStone" with lore "&f&lHold In Offand To Be Granted The Power Of Invisibility":
apply Invisibility 1 to player for 999 days
else:
remove Invisibility from the player
command /InvisStoneTest:
trigger:
give player white stained glass named "&f&lInvisibility &7&lStone" with lore "&f&lHold In Offand To Be Granted The Power Of Invisibility"