Skript Version:Skript 2.2
Skript Addons used: SkRayFall
Minecraft Version:1.8.8
Now I am having a little trouble with my script, It works in the way that It displays the scoreboard correctly, but its only showing 1 player's scoreboard to all the players, if that makes sense. I feel as if it is something to do with looping every one but I don't know how to fix it. There is no errors from reloading or in the console to my knowledge.
If anyone needs any info to help me out, let me know and ill supply what I can.
Thank you!
Skript Addons used: SkRayFall
Minecraft Version:1.8.8
Now I am having a little trouble with my script, It works in the way that It displays the scoreboard correctly, but its only showing 1 player's scoreboard to all the players, if that makes sense. I feel as if it is something to do with looping every one but I don't know how to fix it. There is no errors from reloading or in the console to my knowledge.
code_language.skript:
every 2 seconds:
loop all players:
wipe loop-player's sidebar
make loop-player execute command "/score"
command /score:
trigger:
#faction name
set {_test} to the name of faction faction of factions player factions player player
set name of sidebar of player to "&a&lPrimal&6&lCraft"
set score "&6&l&m----------------" in sidebar of player to 6
set score "&6&m------------------" in sidebar of player to 1
set score "&aKills : %{kills.%player%}%" in sidebar of player to 4
set score "&aOnline : %number of all players%" in sidebar of player to 5
set score "&aDeaths : %{deaths.%player%}%" in sidebar of player to 3
set score "&aFaction: &a%{_test}%" in sidebar of player to 2
set score "&aprimalcrafteu.enjin.com" in sidebar of player to 0
If anyone needs any info to help me out, let me know and ill supply what I can.
Thank you!