Solved You cannot get all values of type 'player'

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

    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!

Jul 13, 2023
2
0
1
I am bad at skript and I cannot find a way to fix this

Here is my skript:


on right click:
If player is holding paper named "&7[&d&lMythic&7] Rank":
remove 1 of paper named "&7[&d&lMythic&7] Rank" from player
make console execute command "lp user %player% parent set mythic"
loop all players in world "world":
send title "%player% just claimed Mythic Rank!" to loop-players

edit: the spaces don't show for some reason and idk how to add them back
 
it is but i'm trying to send it to all players
`loop all players in world "world"` will grab all the players in the `world` world, and then loop through them, meaning to run the code below for each player in that list. Removing the `s` will send the message to the currently looped player. If that is done for every looped player, then the message will send for all players in that world