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!

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

Solved One Scoreboard Per World code (Need help)

Discussion in 'Requests' started by Pingusate, Apr 7, 2018.

  1. Pingusate

    Pingusate Active Member

    Joined:
    Mar 29, 2018
    Messages:
    50
    Likes Received:
    4
    Suggested name: Scoreboard per world
    What I want:
    Hey, i need help to set a scoreboard per world, for example, lets say the world name is World, I want it to have its own scoreboard, but it won't be displayed in World2 or World3, and World2 has its own scoreboard, but it won't be displayed in World or World3

    Please someone submit the code in a spoiler, Thanks :emoji_slight_smile:

    Ideas for commands: No Commands just code in a spoiler

    Ideas for permissions: No permissions, just code in a spoiler

    When I'd like it by: Just in any minute today please :emoji_slight_smile:
     
  2. BrunoBest

    BrunoBest Member

    Joined:
    Jan 2, 2018
    Messages:
    3
    Likes Received:
    0
  3. JTNCrafter

    JTNCrafter Member

    Joined:
    Jan 6, 2018
    Messages:
    21
    Likes Received:
    1
    Hello Pingusate!

    First, I want to wonder what type of scoreboard you are using. SkRayFall or Skellet!

    I know what to do for SkRayFall, so here it is!

    Code (Skript):
    1. every 5 ticks:
    2.     loop all players:
    3.         if loop-player is in "WORLD NAME":
    4.             set name of sidebar of loop-player to "SCOREBOARD TITLE"
    5.             set score "PUT YOUR FIRST INFO" in sidebar of loop-player to 5
    6.             set score "PUT YOUR SECOND INFO" in sidebar of loop-player to 4
    7.             set score "PUT YOUR THIRD INFO" in sidebar of loop-player to 3
    8.             set score "PUT YOUR FOURTH INFO" in sidebar of loop-player to 2
    9.             set score "PUT YOUR FIFTH INFO" in sidebar of loop-player to 1
    10.         if loop-player is in "WORLD 2 NAME":
    11.             set name of sidebar of loop-player to "SCOREBOARD TITLE"
    12.             set score "2ND PUT YOUR FIRST INFO" in sidebar of loop-player to 5
    13.             set score "2ND PUT YOUR SECOND INFO" in sidebar of loop-player to 4
    14.             set score "2ND PUT YOUR THIRD INFO" in sidebar of loop-player to 3
    15.             set score "2ND PUT YOUR FOURTH INFO" in sidebar of loop-player to 2
    16.             set score "2ND PUT YOUR FIFTH INFO" in sidebar of loop-player to 1
    Change the WORLD NAME, SCOREBOARD TITLE, and the INFO.
    You can always copy and paste it to create more worlds! Also, you can copy and paste the info!

    Happy Coding!
     
  4. Pingusate

    Pingusate Active Member

    Joined:
    Mar 29, 2018
    Messages:
    50
    Likes Received:
    4
    Thank you a lot!!!
     
  5. JTNCrafter

    JTNCrafter Member

    Joined:
    Jan 6, 2018
    Messages:
    21
    Likes Received:
    1
    No problem!

    Make sure to label the post as solved!

    Have a great day and Happy Skripting!
     
  6. Pingusate

    Pingusate Active Member

    Joined:
    Mar 29, 2018
    Messages:
    50
    Likes Received:
    4
    :emoji_slight_smile:
     

Share This Page

Loading...