Jump to content

Help my skRayfall scoreboard is haunted


zuyn

Recommended Posts

on join:
	erase player's sidebar
	set name of sidebar of player to "&3&lVligh"
	set id based score "x: %player's x-location%" in sidebar of player to 3 with id "x.%player%"
	set id based score "y: %player's y-location%" in sidebar of player to 2 with id "y.%player%"
	set id based score "z: %player's z-location%" in sidebar of player to 1 with id "z.%player%"
	set score " " in sidebar of player to 4
	set id based score "&cTime: &f0" in sidebar of player to 5 with id "time.%player%"
	while player is online:
		if {timer::%player's uuid%} is set:
			set {_time} to difference between {timer::%player's uuid%} and now
			edit score with id "time.%player%" to "&cTime: &f%{_time}%" and 5
		else:
			edit score with id "time.%player%" to "&cTime: &f0.00 seconds" and 5
		edit score with id "x.%player%" to "&cx: &f%player's x-location%" and 3
		edit score with id "y.%player%" to "&cy: &f%player's y-location%" and 2
		edit score with id "z.%player%" to "&cz: &f%player's z-location%" and 1
		wait 2 ticks

on quit:
	erase player's sidebar

Attached is video of the issue Im having.

Does anyone know what I did wrong?? I have no clue

Link to comment
Share on other sites

5 hours ago, zuyn said:
on join:
	erase player's sidebar
	set name of sidebar of player to "&3&lVligh"
	set id based score "x: %player's x-location%" in sidebar of player to 3 with id "x.%player%"
	set id based score "y: %player's y-location%" in sidebar of player to 2 with id "y.%player%"
	set id based score "z: %player's z-location%" in sidebar of player to 1 with id "z.%player%"
	set score " " in sidebar of player to 4
	set id based score "&cTime: &f0" in sidebar of player to 5 with id "time.%player%"
	while player is online:
		if {timer::%player's uuid%} is set:
			set {_time} to difference between {timer::%player's uuid%} and now
			edit score with id "time.%player%" to "&cTime: &f%{_time}%" and 5
		else:
			edit score with id "time.%player%" to "&cTime: &f0.00 seconds" and 5
		edit score with id "x.%player%" to "&cx: &f%player's x-location%" and 3
		edit score with id "y.%player%" to "&cy: &f%player's y-location%" and 2
		edit score with id "z.%player%" to "&cz: &f%player's z-location%" and 1
		wait 2 ticks

on quit:
	erase player's sidebar

Attached is video of the issue Im having.

Does anyone know what I did wrong?? I have no clue

~Psst~ SkBees scoreboard is better.

on join:
 while player is online:
  set title of player's scoreboard to "&3&lVligh"
  if {timer::%player's uuid%} is set:
   set {_time} to difference between {timer::%player's uuid%} and now
  else:
   set {_time} to "&f0.00 seconds"
  set line 5 of player's scoreboard to "&cTime: &f%{_time}%"
  set line 4 of player's scoreboard to ""
  set line 3 of player's scoreboard to "&cx: &f%player's x-location%"
  set line 2 of player's scoreboard to "&cy: &f%player's y-location%"
  set line 1 of player's scoreboard to "&cz: &f%player's z-location%"
  toggle scoreboard of player on
  wait 2 ticks

on quit:
 clear scoreboard of player

 

  • Like 1

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

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...