Scoreboard flicker with skillet scoreboards

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Buddha

Member
Apr 22, 2017
20
0
0
26
Hi, I'm having a little issue with my scoreboard - it flickers constantly as it's updating, however I have read through multiple threads which say that skillet should help to stop the flicker. Am I doing something wrong?
Here's my scoreboard code:

Code:
on join:
    create new stylish scoreboard named "s-%player%"
    set title of stylish scoreboard "s-%player%" to "&b&lSkyblock"
    add asb island level of player to {_level.%player%}
    set {_flytime.%player%} to "1"
    set {_money.%player%} to {money.%player%}
    wait 0.1 seconds
    create a new id based score "%player%-1" with text "&7Team amount: &c%{_teamamount.%player%}%" slot 1 for stylish scoreboard "s-%player%"
    create a new id based score "%player%-3" with text "&7Balance: &c%{_money.%player%}%" slot 3 for stylish scoreboard "s-%player%"
    create a new id based score "%player%-4" with text "&7Flytime: %{_flytime.%player%}%" slot 4 for stylish scoreboard "s-%player%"
    create a new id based score "%player%-5" with text "&7&m--------------------" slot 5 for stylish scoreboard "s-%player%"
    set stylish scoreboard of player to "s-%player%"
    wait 1 second
        
on join:
    while player is online:
        add asb island level of player to {_level.%player%}
        set {_flytime.%player%} to "1"
        set {_money.%player%} to {money.%player%}
        wait 0.1 seconds
        set the text of id "%player%-1" to "&7Team amount: {_flytime} "
        set the text of id "%player%-3" to "&7Balance: &c%{money.%player%}%"
        set {_random} to a random integer between 1 and 100
        set the text of id "%player%-1" to "&7Team amount: {_random} "
        set stylish scoreboard of player to "s-%player%"
 
Now using this, however little confused how I would actually use it aha. Whenever I do specific things with the scoreboard, the server literally just drops dead and dies. It throws up a huge error in console. Could you possibly take a look at my stuff to see if it's dodgy?
Code:
on join:
    setup skoreboard for player
    if player has a skoreboard:
        set title of skoreboard player to "&b&lSkyblock"
        set slot 1 of skoreboard player to "&7Balance: &c%{money.%player%}%"
        
on join:
    while player is online:
        if player has a skoreboard:
            set title of skoreboard player to "&b&lSkyblock"
            set slot 1 of skoreboard player to "&7Balance: &c%{money.%player%}%"
 
Now using this, however little confused how I would actually use it aha. Whenever I do specific things with the scoreboard, the server literally just drops dead and dies. It throws up a huge error in console. Could you possibly take a look at my stuff to see if it's dodgy?
Code:
on join:
    setup skoreboard for player
    if player has a skoreboard:
        set title of skoreboard player to "&b&lSkyblock"
        set slot 1 of skoreboard player to "&7Balance: &c%{money.%player%}%"
       
on join:
    while player is online:
        if player has a skoreboard:
            set title of skoreboard player to "&b&lSkyblock"
            set slot 1 of skoreboard player to "&7Balance: &c%{money.%player%}%"
This is an infinite loop without delay, please add a delay (not within the condition)
 
Status
Not open for further replies.