Jump to content

need help with a skript (sorry if this is in the wrong channel)


itsKimo

Recommended Posts

It's always the same and this skript can be found anywhere on the internet! 

loop {YourListVariable::*:
	add 1 to {_size}
	if {_low.to.high.list::%loop-value%} is not set:
		set {_low.to.high.list::%loop-value%} to loop-index
	else:
		set {_n} to 0
		loop {_size} times:
		set {_n} to {_n}+1
		{_low.to.high.list::%loop-value-1%.%{_n}%} is not set
		set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
		stop loop
	wait 1 tick
	set {_n} to size of {_low.to.high.list::*}
	loop {_low.to.high.list::*}:
		set {_high.to.low.list::%{_n}%} to loop-value
		set {_n} to {_n}-1
	wait 1 tick
        
	#now you'll have to loop {_high.to.low.list::*} to access the descending leaderboard list!

 

Edited by FlapKakker
wrong indentation
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...