Give all players in world item

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

Status
Not open for further replies.

abcfrosty

Member
Jun 12, 2020
1
0
0
27
So I have a bedwars server, and I want to make commands to have cool things happen to the players.
Each map is it's own world, so I want all the players in that world to do this.

So for example, for /bwfirecharge, I want it to get what world the person who executed it is in, and then for every single player only in that world, it would give them 64 fire charges.

Could I get any help on this?
 
code_language.skript:
set {_w} to player's world
loop all players in world {_w}:
    give 64 of fire charge to loop-player #idk what the alias for fire charge is
 
Status
Not open for further replies.