Scoreboard

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

    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.

Qoft

Member
Apr 15, 2020
1
0
0
Skript version: 2.5-alpha3
Server version: 1.15.2

Code:
every {@scoretime} in "world":
 loop all players:
  set title of loop-player's scoreboard to "&c&lDoodDoodles"
  set line 6 of loop-player's scoreboard to "&3Server Time:"
  set line 5 of loop-player's scoreboard to "&e%{WORLDTIME12}%"
  set line 4 of loop-player's scoreboard to "&3Kingdom:"
  set line 3 of loop-player's scoreboard to "&e%{kingdom::%uuid of player%}%"
  set line 2 of loop-player's scoreboard to "&eOnline:"
  set line 1 of loop-player's scoreboard to "&3%number of all players%&8/&3100"
Error:
There's no loop that matches 'loop-player's scoreboard' (kingdom.sk, line 155: set line 3 of loop-player's scoreboard to "&e%{kingdom::%uuid of player%}%"')
I've tried almost everything I could but I can't find whats wrong with this, can anyone help?
 
Skript version: 2.5-alpha3
Server version: 1.15.2

Code:
every {@scoretime} in "world":
 loop all players:
  set title of loop-player's scoreboard to "&c&lDoodDoodles"
  set line 6 of loop-player's scoreboard to "&3Server Time:"
  set line 5 of loop-player's scoreboard to "&e%{WORLDTIME12}%"
  set line 4 of loop-player's scoreboard to "&3Kingdom:"
  set line 3 of loop-player's scoreboard to "&e%{kingdom::%uuid of player%}%"
  set line 2 of loop-player's scoreboard to "&eOnline:"
  set line 1 of loop-player's scoreboard to "&3%number of all players%&8/&3100"
Error:
There's no loop that matches 'loop-player's scoreboard' (kingdom.sk, line 155: set line 3 of loop-player's scoreboard to "&e%{kingdom::%uuid of player%}%"')
I've tried almost everything I could but I can't find whats wrong with this, can anyone help?
Replace
code_language.skript:
%{kingdom::%uuid of player%}%
to
code_language.skript:
%{kingdom::%uuid of loop-player%}%
 
Status
Not open for further replies.