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

Skoreboard error (Skore add-on)

Discussion in 'Skript' started by Frynoo, Nov 21, 2018.

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

    Frynoo Member

    Joined:
    Oct 15, 2018
    Messages:
    15
    Likes Received:
    2
    I've created a script for a scoreboard with the addon Skore.
    But there is an error that i can't get fixed:
    Code (Skript):
    1. on join:
    2.     wipe player sidebar
    3.     setup skoreboard for player:
    4.         set title of skoreboard player to "&5&lMagic&c&lKingdom"
    5.         set slot 1 of skoreboard player to "&7Online: &f%amount of players%"
    6.         set slot 2 of skoreboard player to "&7Rank: &f%{groupmanager-group}%"
    7.  
    8. on any movement:
    9.     wipe player sidebar
    10.     setup skoreboard for player:
    11.         set title of skoreboard player to "&5&lMagic&c&lKingdom"
    12.         set slot 1 of skoreboard player to "&7Online: &f%amount of players%"
    13.         set slot 2 of skoreboard player to "&7Rank: &f%{groupmanager-group}%"
    upload_2018-11-21_19-15-41.png


     
  2. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    Code (Skript):
    1.     setup skoreboard for player
    2.     set title of skoreboard player to "&5&lMagic&c&lKingdom"
    3.     set slot 1 of skoreboard player to "&7Online: &f%amount of players%"
    4.     set slot 2 of skoreboard player to "&7Rank: &f%{groupmanager-group}%"
    and why are you using 'on any movement', also for scoreboard(s), will make the server laggy.
     
  3. Frynoo

    Frynoo Member

    Joined:
    Oct 15, 2018
    Messages:
    15
    Likes Received:
    2
    That doesn't work..


    (Btw I am eps. 189 of Shippuden :emoji_grinning:)
     
    • Like Like x 1
  4. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    Code (Skript):
    1. on join:
    2.     setup skoreboard for player
    3.     while player is online:
    4.         set title of skoreboard player to "&5&lMagic&c&lKingdom"
    5.         set slot 1 of skoreboard player to "&7Online: &f%amount of players%"
    6.         set slot 2 of skoreboard player to "&7Rank: &f%{groupmanager-group}%"
    7.         wait a second
    8.      
    you can remove 'on any movement' part.
     
  5. Frynoo

    Frynoo Member

    Joined:
    Oct 15, 2018
    Messages:
    15
    Likes Received:
    2
    That worked thanks!

    Do you know the variable for groupmanager in script? I want to have my groupmanager prefix in there.
     
Thread Status:
Not open for further replies.
Loading...