Can i please have help with this code it says it cannot understand "loop all players" this is my code

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

B7te

Member
Aug 10, 2023
3
1
3
23
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"
 

Attachments

  • 2023-08-10_21.49.00.png
    2023-08-10_21.49.00.png
    112.8 KB · Views: 49