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 error

Discussion in 'Skript' started by patty_boyo, Apr 8, 2020.

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

    patty_boyo Member

    Joined:
    Feb 16, 2020
    Messages:
    2
    Likes Received:
    0
    So I have this scoreboard and it is not working, I have the following skript addons, SkBee,SkQuery,TuSke. Do you know the issue? Here are errors. https://cdn.discordapp.com/attachments/677612093607903248/697298177585446932/bffa3c033f99bb8da148958460a4d179.png



    Code (Text):
    1. every 2 second:
    2.     loop all players:
    3.         wipe loop-player's sidebar
    4.         set name of sidebar of loop-player to "&c&lDoodDoodles"
    5.         set score "&7" in sidebar of loop-player to 10
    6.         set score "&c%loop-player%&7:" in sidebar of loop-player to 9
    7.         set score "&7→ &3Kingdom&3:" in sidebar of loop-player to 8
    8.         set score "&7→ &c{kingdom::%uuid of player%} %online 0" in sidebar of loop-player to 6
    9.         set score "&7→ &eOnline players:" in sidebar of loop-player to 6
    10.         set score "&7→ %online%" in sidebar of loop-player to 5
     
  2. GuardDev

    GuardDev Member

    Joined:
    Apr 5, 2020
    Messages:
    19
    Likes Received:
    4
    The issue is, you are going from 10 to 5. A scoreboard needs to end with 1. So:
    Code (Text):
    1. every 2 second:
    2.     loop all players:
    3.         wipe loop-player's sidebar
    4.         set name of sidebar of loop-player to "&c&lDoodDoodles"
    5.         set score "&7" in sidebar of loop-player to 6
    6.         set score "&c%loop-player%&7:" in sidebar of loop-player to 5
    7.         set score "&7→ &3Kingdom&3:" in sidebar of loop-player to 4
    8.         set score "&7→ &c{kingdom::%uuid of player%} %online 0" in sidebar of loop-player to 3
    9.         set score "&7→ &eOnline players:" in sidebar of loop-player to 2
    10.         set score "&7→ %online%" in sidebar of loop-player to 1
     
  3. dxcf

    dxcf Member

    Joined:
    Apr 8, 2020
    Messages:
    26
    Likes Received:
    0
    You can use something lower than 2 to end the scoreboard not end with 1
     
  4. GuardDev

    GuardDev Member

    Joined:
    Apr 5, 2020
    Messages:
    19
    Likes Received:
    4
    Still does not change my fact
     
  5. HiqqhFive

    Supporter

    Joined:
    Jan 28, 2017
    Messages:
    60
    Likes Received:
    6
    Did you tried to install skRayFall?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...