Play sound to all players?

Discussion in 'Skript' started by Duelzz, May 26, 2017.

  1. How would I play a sound to all players?
  2. Loop all players and then play ____ sound to loop-player(s).
  3. Seeing as this is in the Skript section, I am unsure if this is a mistake or not but if you are indeed using Java

    for loop to loop through all online players
    play sound effect for each player

    Simple as that :)
  4. Here a little example:

    Code (Text):
    command /sound:
            play sound "AMBIENT_CAVE" to player with volume 1 and pitch 2
    with the text "player" you play the sound for all players
  5. An example here.

    Code (Text):
    on join:
        if player is op:
            loop all players:
                play sound "AMBIENT_CAVE" to loop-player with volume 1 and pitch 2
  6. I think you need skellett for this at the skript forums I saw this because I needed it 2 I used skellett
  7. btw skellett is a script addon if u didnt know