Sound Pitch

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

Status
Not open for further replies.

MusicManSK

Active Member
Nov 30, 2017
230
11
18
Hello!
Im need help with sound!
I tried this:
code_language.skript:
play raw sound "random.levelup" at player with pitch 2 volume 0.5
or this:
code_language.skript:
play sound "NOTE_PLING" at player with volume 0.5 and pitch 2
but it hasnt worked.
I found this way to play sound and this working but i dont know how to set pitch here...
code_language.skript:
play "NOTE_PLING" to player at volume 0.5
but im found this:
code_language.skript:
play "NOTE_PLING" to player at volume 1 and pitch 10
but its logging error that "to player at volume 1 and pitch 10" is not an entity type or sometning like this...
Plzz help me!
THX
 
For some of the expressions you need both the addon for it and the right name associated with that sound. I use skellet so maybe try this? In the documentation the one for skellet has a link with all it's sound names.
code_language.skript:
command /sound:
    trigger:
        play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2
 
If you're using the latest version of Skript (the bensku one), I recommend using the vanilla Skript effect:
code_language.skript:
play sound %text% [with volume %number%] [(and|with) pitch %number%] at %location% [for %players%]

#Example
play sound "block.note.pling" with volume 1 and pitch 2 at player
 
Status
Not open for further replies.