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:
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%"