Error?

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

Noahrobs

Member
Jul 13, 2017
12
0
0
24
on right click:
if player is holding diamond:
if player is in world "world_nether":
loop players in radius 10 around player:
play sound "ENTITY_PLAYER_LEVELUP" to loop-player with volume 1 and pitch 2

I did this and it should work.. but whenever I reload the skript
it says
"There is no loop that matches 'loop-player with volume 1 and pitch 2'
 
Okay just tested this oneXD
code_language.skript:
on right click:
    if player is holding diamond:
        if world is "world_nether":
            loop all players in radius 10 of player:
                play "ENTITY_PLAYER_LEVELUP" to loop-player with volume 1 and pitch 2

it must be loop ALL players and in the last line loop-player, not loop player
 
Okay just tested this oneXD
code_language.skript:
on right click:
    if player is holding diamond:
        if world is "world_nether":
            loop all players in radius 10 of player:
                play "ENTITY_PLAYER_LEVELUP" to loop-player with volume 1 and pitch 2

it must be loop ALL players and in the last line loop-player, not loop player

There must be something wrong with my Skript then cause that dont work same error
[doublepost=1499910411,1499910355][/doublepost]Here
 

Attachments

  • Capture.PNG
    Capture.PNG
    68.9 KB · Views: 190
There must be something wrong with my Skript then cause that dont work same error
[doublepost=1499910411,1499910355][/doublepost]Here
ah! you likely don't have the right addon. I can't recall honestly which addon my play sound effect comes because I have all of themXD Looking it up now, Skrayfall, skellet and extrask all have play sound effects that are very similar.
http://nfell2009.uk/skunity/effects
Skript effects page^. You could look to see which one you like best. I dont see a play sound for regular skript unless I'm very mistaken
 
I don't use Bensku's fork so I can't attest to it sadly, I do hope you're able to sort it though. I'm out of ideas :emoji_frowning:
[doublepost=1499912954,1499911850][/doublepost]actually, one more shot, just in case it helpsXD
code_language.skript:
            loop all players in radius 10 of player:
                set {_location} to location of player
                play "ENTITY_PLAYER_LEVELUP" to loop-player with volume 1 and pitch 2 at %{_location}% to player
 
Status
Not open for further replies.