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.

Scoreboard

Discussion in 'Skript' started by ErkS, Jan 20, 2020.

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

    ErkS Member

    Joined:
    Dec 24, 2017
    Messages:
    39
    Likes Received:
    0
    How to fix it? Everyone see only stats from last joined player and not his own stats.

    Code (Text):
    1. every 5 seconds:
    2.     loop all players:
    3.         wipe loop-player's sidebar
    4.         set name of sidebar of loop-player to "&e&lHrajAPrezi"
    5.         set score "" in sidebar of loop-player to 7
    6.         set score "&e&lHrdinovia&8:" in sidebar of loop-player to 6
    7.         set score "&fHrdina: &c&l%{rpg.%loop-player%.class}%" in sidebar of loop-player to 5
    8.         set score "&fLvL: &a&l%{rpg.%loop-player%.currentexp}%&f/&e&l%{rpg.%loop-player%.lvlexp}%" in sidebar of loop-player to 4
    9.         set score "&6" in sidebar of loop-player to 3
    10.         set score "&b&lOnline&8:" in sidebar of loop-player to 2
    11.         set score " &f%number of all players%&8/&f20" in sidebar of loop-player to 1
     
  2. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    try
    set id based score "..." in sidebar of loop-player to 1 with id "%loop-player%.id1"
     
  3. ErkS

    ErkS Member

    Joined:
    Dec 24, 2017
    Messages:
    39
    Likes Received:
    0
    Where i should put it?
     
  4. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    change set score " &f%number of all players%&8/&f20" in sidebar of loop-player to 1 to set id based score "&f%number of all players%&8/&f20" in sidebar of loop-player to 1 with id "%loop-player%.id1" and so on
     
  5. ErkS

    ErkS Member

    Joined:
    Dec 24, 2017
    Messages:
    39
    Likes Received:
    0
    But other stats are still bugged
     
  6. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    Its so hard to change everything by the example?
     
  7. ErkS

    ErkS Member

    Joined:
    Dec 24, 2017
    Messages:
    39
    Likes Received:
    0
    Lol i changed everything but its still bugged
     
Thread Status:
Not open for further replies.

Share This Page

Loading...