1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sound error

Discussion in 'Skript' started by Sphro, Sep 9, 2017.

Thread Status:
Not open for further replies.
  1. Sphro

    Sphro Member

    Joined:
    May 28, 2017
    Messages:
    18
    Likes Received:
    0
    [​IMG]


    Why do I keep getting this error? I'm doing everything necessary:

    Code (Skript):
    1. on death of player:
    2.     victim is a player
    3.     damager is a player
    4.     execute Console command "execute %victim% ~ ~ ~ /particle flame ~ ~ ~ 0.10 0.5 0.10 0.1 750"
    5.     play raw sound "mob.blaze.death" at victim with pitch 1 volume 10
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    You're not. At least not here in the forums.

    Use the help request layout.
     
    • Agree Agree x 1
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    It doesn't even work if you do it with the /playsound command, not only that but it doesn't even work w/ skript
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    The raw sound doesn't work in 1.9+ Use Skellett or Bensku's proper sound syntax rather than the NMS raw sound from SkQuery. A high percentage of people use Skellett/Bensku's sound method, so you could ask anyone how to use it.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    I'm using Spigot 1.8.8, however I have ViaVersions allowing users to connect OVER 1.9. That might be the problem.
    --- Double Post Merged, Sep 22, 2017, Original Post Date: Sep 16, 2017 ---
    Care enough to tell me the syntax please?
     
  7. Lego_freak1999

    Lego_freak1999 Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    664
    Likes Received:
    45
    Code (Skript):
    1. play sound "AMBIENT_CAVE" to player with volume 1 and pitch 2
     
  8. Sphro

    Sphro Member

    Joined:
    May 28, 2017
    Messages:
    18
    Likes Received:
    0
    ... this doesn't work either... wtf? This is Skript, one of the best minecraft languages and I can't even get it to play simple sounds like a dying blaze... smfh -.-
     
  9. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    Code (Skript):
    1. play raw sound "%sound%" at player with pitch 1 volume 0.5
    You can see sound for 1.8.8 here
     
    #9 HackerOTVW, Sep 24, 2017
    Last edited: Sep 24, 2017
  10. Sphro

    Sphro Member

    Joined:
    May 28, 2017
    Messages:
    18
    Likes Received:
    0
    Nope. Doesn't work.
     
  11. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    I do not know why it does not work for you but it works for me. Try this
    Code (Skript):
    1. play raw sound "random.levelup" at player with pitch 1 volume 0.5
    You need SkQuery
    Sound
     
  12. MCProHost

    MCProHost Active Member

    Joined:
    Sep 17, 2017
    Messages:
    80
    Likes Received:
    0
    also, I've found that you need to remove some parts of it to get it to work, for example play "ORB_PICKUP" to player at volume 0.5
     
  13. Gatt

    Gatt Ruler
    Retired Staff Supporter Addon Developer

    Joined:
    Dec 8, 2016
    Messages:
    148
    Likes Received:
    21
    -- Cleaned up thread. --
     
Thread Status:
Not open for further replies.

Share This Page

Loading...