Jump to content

Scoreboard wont work


HALLO12846j

Recommended Posts

Hi I am making a scoreboard for my server but my scorboard doesnt work fully.

 

the code:

every 5 tick in "ul_spawn":
	loop all players:
		wipe loop-player's sidebar
		set name of sidebar of loop-player to "&6&lCopperClic"
		set score "&7&m--------------------------" in sidebar of loop-player to 8
		set score "&e&l» Money:" in sidebar of loop-player to 7
		set score "     &2Money » &2$%{money.%loop-player%} ? ""&20""%" in sidebar of loop-player to 6
		set score "     &6&lC&e&lr&a&le&2&ld&3&li&b&lt&9&ls » &2%{credits.%loop-player%}%" in sidebar of loop-player to 4
		set score "" in sidebar of loop-player to 4
		set score "&e&l» &b&lPlayer:" in sidebar of loop-player to 3
		set score "     &7You » &b%{loop-player}%" in sidebar of loop-player to 2
		set score "     &7time played » %loop-player's time played%" in sidebar of loop-player to 1

the result:

image.png.3258425384d75adc9aea1dca4e6a9dc2.png

 

I am using skRayFall and this should work?

so please help me, I am not sure what the problem is, Is it a skRayFall or skript error/problem?

Link to comment
Share on other sites

28 minutes ago, HALLO12846j said:

Hi I am making a scoreboard for my server but my scorboard doesnt work fully.

 

the code:

every 5 tick in "ul_spawn":
	loop all players:
		wipe loop-player's sidebar
		set name of sidebar of loop-player to "&6&lCopperClic"
		set score "&7&m--------------------------" in sidebar of loop-player to 8
		set score "&e&l» Money:" in sidebar of loop-player to 7
		set score "     &2Money » &2$%{money.%loop-player%} ? ""&20""%" in sidebar of loop-player to 6
		set score "     &6&lC&e&lr&a&le&2&ld&3&li&b&lt&9&ls » &2%{credits.%loop-player%}%" in sidebar of loop-player to 4
		set score "" in sidebar of loop-player to 4
		set score "&e&l» &b&lPlayer:" in sidebar of loop-player to 3
		set score "     &7You » &b%{loop-player}%" in sidebar of loop-player to 2
		set score "     &7time played » %loop-player's time played%" in sidebar of loop-player to 1

the result:

image.png.3258425384d75adc9aea1dca4e6a9dc2.png

 

I am using skRayFall and this should work?

so please help me, I am not sure what the problem is, Is it a skRayFall or skript error/problem?

One error is that you're using line 4 twice image.png.8dc58b2129c77b8dc2fbded2982e6a1e.png

and I'm not exactly sure if a line can be completely empty maybe try "&7" instead of ""

If you're still running into issue maybe give SkBees scoreboard a shot it's way easier and has an overall better performance

Edited by StarBunnie

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

2 hours ago, StarBunnie said:

One error is that you're using line 4 twice image.png.8dc58b2129c77b8dc2fbded2982e6a1e.png

and I'm not exactly sure if a line can be completely empty maybe try "&7" instead of ""

If you're still running into issue maybe give SkBees scoreboard a shot it's way easier and has an overall better performance

Thanks that worked, and also you were right about skBee scoreboards being easier

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...