SHARE
TWEET

My scoreboard that doesn't work -zontafer4321

a guest Jul 23rd, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     Prefix: &4Bright-Skag &7>
  3.  
  4. variables:
  5.     {balance::%player%} = 0
  6.     {rank.%player%} = 0
  7.     {killstreak::%player%} = 0
  8.     {peakcoins::%player%} = 0
  9.  
  10. on join:
  11.   set player tab name to "%{prefix::%player%}% %player's display name%"
  12.   player has played before
  13.   broadcast "{@Prefix} %player% has joined"
  14.  
  15. command /promote [<player>]:
  16.  aliases: /promo
  17.  trigger:
  18.   if {rank.%player%} = 10:
  19.    if arg 1 is set:
  20.     add 1 to {rank.%arg 1%}
  21.    else:
  22.     send "&aPlease input a player to promote"
  23.   else:
  24.    send "&cDenied access!"
  25.  
  26. command /demote [<player>]:
  27.  aliases: /dem
  28.  trigger:
  29.   if {rank.%player%} = 10:
  30.    if arg 1 is set:
  31.     remove 1 from {rank.%arg 1%}
  32.    else:
  33.     send "&aPlease input a player to demote"
  34.   else:
  35.    send "&cDenied access!"
  36.  
  37. command /cr [<player>] [<text>]:
  38.  executable by: console
  39.  trigger:
  40.   if arg 1 is set:
  41.    if arg 2 is set:
  42.     if arg 2 is "default":
  43.      set {rank.%arg 1%} to 0
  44.     else if arg 2 is "VIP":
  45.      set {rank.%arg 1%} to 1
  46.     else if arg 2 is "VIP+":
  47.      set {rank.%arg 1%} to 2
  48.     else if arg 2 is "MVP":
  49.      set {rank.%arg 1%} to 3
  50.     else if arg 2 is "Overlord":
  51.      set {rank.%arg 1%} to 4
  52.     else if arg 2 is "builder":
  53.      set {rank.%arg 1%} to 5
  54.     else if arg 2 is "helper":
  55.      set {rank.%arg 1%} to 6
  56.     else if arg 2 is "mod":
  57.      set {rank.%arg 1%} to 7
  58.     else if arg 2 is "admin":
  59.      set {rank.%arg 1%} to 8
  60.     else if arg 2 is "dev":
  61.      set {rank.%arg 1%} to 9
  62.     else if arg 2 is "manager":
  63.      set {rank.%arg 1%} to 10
  64.     else if arg 2 is not "co-owner":
  65.      set {rank.%arg 1%} to 11
  66.     else if arg 2 is "head-co-owner":
  67.      set {rank.%arg 1%} to 12
  68.     else if arg 2 is "owner":
  69.      set {rank.%arg 1%} to 13
  70.     else if arg 2 is "banned":
  71.      set {rank.%arg 1%} to 14
  72.     else if arg 2 is "Youtuber":
  73.      set {rank.%arg 1%} to 15
  74.     else if arg 2 is not "default" or "Youtuber" or "VIP" or "VIP+" or "MVP" or "Overlord" or "builder" or "helper" or "mod" or "admin" or "dev" or "manager" or "co-owner" or "head-co-owner" or "owner" or "banned":
  75.      stop
  76.  
  77.  
  78.  
  79. every 1 tick:
  80.  loop all players:
  81.   if {rank.%loop-player%} = 0:
  82.    set {prefix::%loop-player%} to "&8Default"
  83.   else if {rank.%loop-player%} = 1:
  84.    set {prefix::%loop-player%} to "&r[&b&lVIP&r]"
  85.   else if {rank.%loop-player%} = 2:
  86.    set {prefix::%loop-player%} to "&r[&b&lVIP&a&l+&r]"
  87.   else if {rank.%loop-player%} = 3:
  88.    set {prefix::%loop-player%} to "&r[&b&lMVPr]"
  89.   else if {rank.%loop-player%} = 4:
  90.    set {prefix::%loop-player%} to "&r[&9&lOverlord&r]"
  91.   else if {rank.%loop-player%} = 5:
  92.    set {prefix::%loop-player%} to "&r[&a&lBuilder&r]"
  93.   else if {rank.%loop-player%} = 6:
  94.    set {prefix::%loop-player%} to "&r[&d&lHelper&r]"
  95.   else if {rank.%loop-player%} = 7:
  96.    set {prefix::%loop-player%} to "&r[&3&lModerator&r]"
  97.   else if {rank.%loop-player%} = 8:
  98.    set {prefix::%loop-player%} to "&r[&c&lAdmin&r]"
  99.   else if {rank.%loop-player%} = 9:
  100.    set {prefix::%loop-player%} to "&r[&5&l&nDeveloper&r]"
  101.   else if {rank.%loop-player%} = 10:
  102.    set {prefix::%loop-player%} to "&r[&e&n&lManager&r]"
  103.   else if {rank.%loop-player%} = 11:
  104.    set {prefix::%loop-player%} to "&r[&4&n&lCo-Owner&r]"
  105.   else if {rank.%loop-player%} = 12:
  106.    set {prefix::%loop-player%} to "&r[&4&n&lHead-Co-Owner&r]"
  107.   else if {rank.%loop-player%} = 13:
  108.    set {prefix::%loop-player%} to "&r[&4&lO&6&lw&3&ln&1&le&e&lr&r]"
  109.   else if {rank.%loop-player%} = 14:
  110.    set {prefix::%loop-player%} to "&r[&r&4&lBanned&r]"
  111.   else if {rank.%loop-player%} = 15:
  112.    set {prefix::%loop-player%} to "&r[&r&lYou&c&ltuber&r]"
  113.  
  114.  
  115. every 1 second in world "world":
  116.   loop all players:
  117.     wipe loop-player's sidebar
  118.     set name of sidebar of loop-player to "&cBright Skag &c&l[BATA]"
  119.     set score "  " in sidebar of loop-player to 15
  120.     set score "  &3&m-&b&m-&f&m+&b&m-&3&m-" in sidebar of loop-player to 14
  121.     set score "  &c&lRank:" in sidebar of loop-player to 13
  122.     set score "      &c%{prefix::%loop-player%}%" in sidebar of loop-player to 12
  123.     set score "  &c&lKillstreaks:" in sidebar of loop-player to 11
  124.     set score "      &c%{killstreak::%loop-player%}% kills" in sidebar of loop-player to 10
  125.     set score "    " in sidebar of loop-player to 7
  126.     set score "  &c&LServer Stats:" in sidebar of loop-player to 6
  127.     set score "      &3&lOnline Players: &c&l%number of all players%&8/&c&l10" in sidebar of loop-player to 5
  128.     set score "  &c&lIP:" in sidebar of loop-player to 5
  129.     set score "      &cplay.sneakyservers.uk.to:25576" in sidebar of loop-player to 4
  130.     set score "  &c&lVersion:" in sidebar of loop-player to 3
  131.     set score "      &c&l0.0.1" in sidebar of loop-player to 2
  132.     set score "  &c&m-&3&m-&f&m+&3&m-&b&m-" in sidebar of loop-player to 1
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
 
Top