Hello guys, I am trying to fix scoreboard bug . Then I Added placeholders to scoreboard it's disapeared and it's not showing up anymore.
My code:
For anothers it's works and showing everything fine, but then you rejoin it's stopped showing scoreboard.
Skript: 2.2
Mc: 1.8
Using addon: Ersatz and Skellet
My code:
code_language.skript:
else if loop-player's world is "kitpvp":
if stylish scoreboard "kitpvp-%loop-player%" does not exist:
create new stylish scoreboard named "kitpvp-%loop-player%"
loop 14 times:
create a new id based score "kitpvp-%loop-player%Slot%loop-number%" with text "&%loop-number%" slot loop-number for stylish scoreboard "kitpvp-%loop-player%"
wait 3 ticks
set title of stylish scoreboard "kitpvp-%loop-player%" to "&e&lTD-NETWORK"
set stylish scoreboard of loop-player to "kitpvp-%loop-player%"
set the text of id "kitpvp-%loop-player%Slot14" to "&5 "
set the text of id "kitpvp-%loop-player%Slot13" to "&e&l»&a Žaidžia:"
set {_0} to size of all players in world "kitpvp"
set {_kbc} to value of placeholder "kitbattle_coins" from loop-player
set {_kbr} to value of placeholder "kitbattle_player_rank" from loop-player
set {_kbex} to value of placeholder "kitbattle_player_exp" from loop-player
set the text of id "kitpvp-%loop-player%Slot12" to "&b%{_0}%"
set the text of id "kitpvp-%loop-player%Slot11" to "&a "
set the text of id "kitpvp-%loop-player%Slot10" to "&e&l»&a Coins:"
set the text of id "kitpvp-%loop-player%Slot9" to "&f %{_kbc}%"
set the text of id "kitpvp-%loop-player%Slot8" to "&c &4"
set the text of id "kitpvp-%loop-player%Slot7" to "&e&l» &aRank:"
set the text of id "kitpvp-%loop-player%Slot6" to "&c%{_kbr}%"
set the text of id "kitpvp-%loop-player%Slot5" to "&d &l"
set the text of id "kitpvp-%loop-player%Slot4" to "&e&l» &aExp:"
set the text of id "kitpvp-%loop-player%Slot3" to "&b%{_kbex}%"
set the text of id "kitpvp-%loop-player%Slot2" to "&3 "
set the text of id "kitpvp-%loop-player%Slot1" to "{@website}"
delete stylish scoreboard "dr-%loop-player%"
delete stylish scoreboard "creative-%loop-player%"
delete stylish scoreboard "hub-%loop-player%"
For anothers it's works and showing everything fine, but then you rejoin it's stopped showing scoreboard.
Skript: 2.2
Mc: 1.8
Using addon: Ersatz and Skellet