SHARE
TWEET

sb

a guest Sep 23rd, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on join:
  2.     set {online.player} to number of all players
  3.     if {cash.bal::%player's uuid%} is not set:
  4.         set {cash.bal::%player's uuid%} to 0
  5.     if {credit.bal::%player's uuid%} is not set:
  6.         set {credit.bal::%player's uuid%} to 0
  7.     if {token.bal::%player's uuid%} is not set:
  8.         set {token.bal::%player's uuid%} to 0
  9.     if {shard.bal::%player's uuid%} is not set:
  10.         set {shard.bal::%player's uuid%} to 0
  11.     if {rebirth.rank::%player's uuid%} is not set:
  12.         set {rebirth.rank::%player's uuid%} to 0
  13.     if {prestige.rank::%player's uuid%} is not set:
  14.         set {prestige.rank::%player's uuid%} to 0
  15.     if {level.rank::%player's uuid%} is not set:
  16.         set {level.rank::%player's uuid%} to 1
  17.     if {level.bp::%player's uuid%} is not set:
  18.         set {level.bp::%player's uuid%} to 1
  19.     if {amount.bp::%player's uuid%} is not set:
  20.         set {amount.bp::%player's uuid%} to 0
  21.     if {max.bp::%player's uuid%} is not set:
  22.         set {max.bp::%player's uuid%} to 100
  23.     wipe player's sidebar
  24.     set name of sidebar of player to "&a&lDRAKE&a&lMC"
  25.     set score "&6&8&m---------------------" in sidebar of player to 16
  26.     set score "&7Balance: &a%{cash.bal::%player's uuid%}%$" in sidebar of player to 15
  27.     set score "&7Credits: &a%{credit.bal::%player's uuid%}%" in sidebar of player to 14
  28.     set score "&7Tokens: &a%{token.bal::%player's uuid%}%" in sidebar of player to 13
  29.     set score "&7Shards: &a%{shard.bal::%player's uuid%}%" in sidebar of player to 12
  30.     set score "&2&8&m---------------------" in sidebar of player to 11
  31.     set score "&7Rebirths: &a%{rebirth.rank::%player's uuid%}%" in sidebar of player to 10
  32.     set score "&7Prestiges: &a%{prestige.rank::%player's uuid%}%" in sidebar of player to 9
  33.     set score "&7Level: &a%{level.rank::%player's uuid%}%" in sidebar of player to 8
  34.     set score "&f&8&m---------------------" in sidebar of player to 7
  35.     set score "&7Backpack &7[&aLvl. %{level.bp::%player's uuid%}%&7]: &a%{amount.bp::%player's uuid%}%&7/&a%{max.bp::%player's uuid%}%" in sidebar of player to 6
  36.     set score "&8&m---------------------" in sidebar of player to 5
  37.     set score "&7Online: &a%{online.player}%" in sidebar of player to 4
  38.    
  39. on join:
  40.     loop all players:
  41.         set {online.player} to number of all players
  42.         wipe loop-player's sidebar
  43.         set name of sidebar of loop-player to "&a&lDRAKE&a&lMC"
  44.         set score "&6&8&m---------------------" in sidebar of player to 16
  45.         set score "&7Balance: &a%{cash.bal::%loop-player's uuid%}%$" in sidebar of loop-player to 15
  46.         set score "&7Credits: &a%{credit.bal::%loop-player's uuid%}%" in sidebar of loop-player to 14
  47.         set score "&7Tokens: &a%{token.bal::%loop-player's uuid%}%" in sidebar of loop-player to 13
  48.         set score "&7Shards: &a%{shard.bal::%loop-player's uuid%}%" in sidebar of loop-player to 12
  49.         set score "&2&8&m---------------------" in sidebar of loop-player to 11
  50.         set score "&7Rebirths: &a%{rebirth.rank::%loop-player's uuid%}%" in sidebar of loop-player to 10
  51.         set score "&7Prestiges: &a%{prestige.rank::%loop-player's uuid%}%" in sidebar of loop-player to 9
  52.         set score "&7Level: &a%{level.rank::%loop-player's uuid%}%" in sidebar of loop-player to 8
  53.         set score "&f&8&m---------------------" in sidebar of loop-player to 7
  54.         set score "&7Backpack &7[&aLvl. %{level.bp::%loop-player's uuid%}%&7]: &a%{amount.bp::%loop-player's uuid%}%&7/&a%{max.bp::%loop-player's uuid%}%" in sidebar of loop-player to 6
  55.         set score "&8&m---------------------" in sidebar of loop-player to 5
  56.         set score "&7Online: &a%{online.player}%" in sidebar of loop-player to 4
  57.        
  58.        
  59.        
  60. on quit:
  61.     loop all players:
  62.         set {online.player} to number of all players
  63.         wipe loop-player's sidebar
  64.         set name of sidebar of loop-player to "&a&lDRAKE&a&lMC"
  65.         set score "&6&8&m---------------------" in sidebar of player to 16
  66.         set score "&7Balance: &a%{cash.bal::%loop-player's uuid%}%$" in sidebar of loop-player to 15
  67.         set score "&7Credits: &a%{credit.bal::%loop-player's uuid%}%" in sidebar of loop-player to 14
  68.         set score "&7Tokens: &a%{token.bal::%loop-player's uuid%}%" in sidebar of loop-player to 13
  69.         set score "&7Shards: &a%{shard.bal::%loop-player's uuid%}%" in sidebar of loop-player to 12
  70.         set score "&2&8&m---------------------" in sidebar of loop-player to 11
  71.         set score "&7Rebirths: &a%{rebirth.rank::%loop-player's uuid%}%" in sidebar of loop-player to 10
  72.         set score "&7Prestiges: &a%{prestige.rank::%loop-player's uuid%}%" in sidebar of loop-player to 9
  73.         set score "&7Level: &a%{level.rank::%loop-player's uuid%}%" in sidebar of loop-player to 8
  74.         set score "&f&8&m---------------------" in sidebar of loop-player to 7
  75.         set score "&7Backpack &7[&aLvl. %{level.bp::%loop-player's uuid%}%&7]: &a%{amount.bp::%loop-player's uuid%}%&7/&a%{max.bp::%loop-player's uuid%}%" in sidebar of loop-player to 6
  76.         set score "&8&m---------------------" in sidebar of loop-player to 5
  77.         set score "&7Online: &a%{online.player}%" in sidebar of loop-player to 4
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top