#Shows uuid insted of username

1 messages · Page 1 of 1 (latest)

lofty finch
#

set {_name} to {_uuid} parsed as offline player

buoyant marten
#

new script:

    hologram: TopMoney
    reload: 5 seconds
    top: 10

every {@reload}:
    if {top.loc} is set:
        loop {money::*}:
            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
        loop {_high.to.low.list::*}:
            add 1 to {_result}
            set {_player} to {_p}
            execute console command "/hd setline {@hologram} %{_result}+1% &e%{_result}%. &a%{_player}% &7- $&e%{money::%loop-value%}%"
            if {_result} is {@top}:
                stop
    else:
        loop all players:
            loop-player is op:
                send "&a❆ Top {@top} is not set!" to loop-player
                send "&b❆ do /setholo" to loop-player```
buoyant marten
lofty finch
buoyant marten
#

execute console command "/hd setline {@hologram} %{_result}+1% &e%{_result}%. &a%{_player}% &7- $&e%{money::%loop-value%}%"

#

and the line above try's to set it to the player;s name

lofty finch
#

Where do you set {_p}?

buoyant marten
#

its a leaderboard btw, so its supposed to show the players name that has that amount of money, not thge player looking at it

lofty finch
buoyant marten
#

set {_player} to {_p}

lofty finch
#

No

buoyant marten
#

oooohh

#

uhh

#

idk

#

tbh

lofty finch
#

{_p} is not set

buoyant marten
#

how do i set it?

#

i have no idea

lofty finch
#

What do you want {_player} to be?

buoyant marten
#

i dont know how to explain

#

can you call?

#

nvm

lofty finch
#

Not rn

buoyant marten
#

i gotta go eat dinmnmer

#

dinner

lofty finch
#

2 sec

#

execute console command "/hd setline {@hologram} %{_result}+1% &e%{_result}%. &a%loop-value parsed as offline player% &7- $&e%{money::%loop-value%}%"

#

try this

buoyant marten
#

kk

#

IT WORKES

#

TY SM!!