#NEED HELP WITH MY RANK SCRIPT

1 messages ยท Page 1 of 1 (latest)

eager hearth
#

๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

#

use a switch

#

or like

#

anything else than a million if else statements

#

also why are your glyphs all in a different style

#

idk why but console player cant see the other players ranks they only can see it if the have the rank all other ?

thats how my code work set the rank with unicode if the the score
as for this, it sounds like a resource pack/pack cache problem

#

also why runcommandasync tellraw ๐Ÿ˜ญ

#

world.sendMessage(e) exists

lyric bough
#

What font is that? Bolded special character font?

acoustic aspen
#

0xE22F

acoustic aspen
#

still learning

eager hearth
acoustic aspen
#

1 sec

#

font folder

acoustic aspen
eager hearth
#

only use it when ther is no other way

eager hearth
# acoustic aspen

try just updating your uuids, it should prompt a resource pack update for everyone

#

might or might not fix it

acoustic aspen
acoustic aspen
eager hearth
#

world.sendMessage

acoustic aspen
#

ah ok thx

toxic willow
#
const allRanks = {
  0: '๎ˆฎ',
  1: '๎ˆ',
  2: '๎ˆž',
  3: '๎ˆŸ',
  4: '๎ˆฏ',
  10: '๎ˆ›',
  20: '๎ˆ™',
  30: '๎ˆš',
  40: '๎ˆœ',
  50: '๎ˆ˜',
  60: '๎ˆ—'
}
const rankScore = world.scoreboard.getObjective('Rank').getScore(data.sender.scoreboard)
const rank = allRanks[rankScore]

this removes the need of all those if statements

acoustic aspen
#

ok thx

eager hearth
#

so that it sets a value even if it doesnt find one

toxic willow
#

oh nvm

eager hearth
#

im just using their original code

toxic willow
#

yeah just looked at it lol

acoustic aspen
#

yes some people cant see the font thats strange but they can see it if they have the rank ??

#

is there an other way to diplay picture in chat without fonts?

drowsy ingot