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.

My skript with Sk Ray Fall

Discussion in 'Skript' started by pringles18, Dec 31, 2020.

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

    pringles18 Member

    Joined:
    Dec 31, 2020
    Messages:
    1
    Likes Received:
    0
    Hello, can someone help me
    At the beginning I' am sorry for my english

    I have this code

    on chat:
    loop all players:
    set score "points" below player to 100 for loop-player


    command /reset:
    trigger:
    wipe below scores for player

    My skript version: the latest
    sk ray fall version: i tried three versions, the latest 21,22 and 23 and on all I have the same problem

    The problem is
    my script dont set score below name for player that type the command but it also change score for others
    im really sad bcs i dont know other script that allows chaning score
    maybe you can help me and see my bad or it is bad of sk ray fall :emoji_frowning:

    I tried replace all "player" to variables but im begginer scripter and i cant check all cases but it still doesnt works :emoji_frowning: thanks
     
  2. Marc

    Marc Active Member

    Joined:
    Nov 27, 2020
    Messages:
    94
    Likes Received:
    0
    im not sure what youre trying to accomplish here but try:

    player's instead of player
     
  3. Jakkeren

    Supporter

    Joined:
    Mar 23, 2017
    Messages:
    63
    Likes Received:
    3
    Not exactly sure why you'd loop all the players, but you'd wanna use something like this:

    Code (Text):
    1. on chat:
    2.     loop all players:
    3.         set {_points} to "&e100"
    4.         set score "points" below loop-player to {_points} for loop-player
     
Thread Status:
Not open for further replies.

Share This Page

Loading...