Metadata tag for multiple things

  • 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!

Remo

New Member
Mar 20, 2024
7
0
1
23
Hello, is there any possible way to set tag (metadata tag) to multiple things like all stones or all player with tag "test2" or something like that
here's my code to explain it better
Code:
on left click:
    player's tool is stick named "test"
    set metadata tag "test" of block stone to true
    send "&aLocation selected" to player
on right click:
    player's tool is stick named "test"
    send "&cLocation unselected" to player
    set metadata tag "test" of block stone to false