Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. function deleteBoard(p: player):
  2. delete stylish scoreboard "T-%{_p}%"
  3. loop 15 times:
  4. delete metadata "scoreboard%loop-number%" of {_p}
  5. delete metadata "scoreboardtitle" of {_p}
  6.  
  7. on join:
  8. player is online
  9. deleteBoard(player)
  10. loop 999999999 times:
  11. player is offline:
  12. stop
  13. if stylish scoreboard "T-%player%" does not exist:
  14. create new stylish scoreboard named "T-%player%"
  15. loop 15 times:
  16. create a new id based score "%player%Slot%loop-value-2%" with text "ยง%loop-number-2%" slot loop-value-2 for stylish scoreboard "T-%player%"
  17. set title of stylish scoreboard "T-%player%" to "&f&l&nLoL&b&l&nMC"
  18. set the text of id "%player%Slot15" to "&a&b&a"
  19. set the text of id "%player%Slot14" to "&a&b&a"
  20. set the text of id "%player%Slot13" to "&a&b&a"
  21. set the text of id "%player%Slot12" to "&a&lBank Account"
  22. set the text of id "%player%Slot11" to "&a&l> &f$%{money::%player%}%"
  23. set the text of id "%player%Slot10" to "&r&a"
  24. set the text of id "%player%Slot9" to "&c&lIsland Stats"
  25. set the text of id "%player%Slot8" to "&c&l> &cLevel &f%asb player's island level%"
  26. set the text of id "%player%Slot7" to "&b&c&b"
  27. set the text of id "%player%Slot6" to "&b&c&b"
  28. set the text of id "%player%Slot5" to "&e&l/Vote Party"
  29. set the text of id "%player%Slot4" to "&e&l> &f%{voteparty}% / 10"
  30. set the text of id "%player%Slot3" to "&e&d&a"
  31. set the text of id "%player%Slot2" to "&e&d&a"
  32. set the text of id "%player%Slot1" to "&e&d&a"
  33. if stylish scoreboard "T2-%player%" does not exist:
  34. create new stylish scoreboard named "T2-%player%"
  35. loop 15 times:
  36. create a new id based score "%player%Slot%loop-value-2%" with text "ยง%loop-number-2%" slot loop-value-2 for stylish scoreboard "T2-%player%"
  37. set title of stylish scoreboard "T-%player%" to "&f&l&nLoL&b&l&nMC"
  38. set the text of id "%player%Slot15" to "&a&b&a"
  39. set the text of id "%player%Slot14" to "&a&b&a"
  40. set the text of id "%player%Slot13" to "&a&b&a"
  41. set the text of id "%player%Slot12" to "&a&lBank Account"
  42. set the text of id "%player%Slot11" to "&a&l> &f$%{money::%player%}%"
  43. set the text of id "%player%Slot10" to "&r&a"
  44. set the text of id "%player%Slot9" to "&c&lIsland Stats"
  45. set the text of id "%player%Slot8" to "&c&l> &cLevel &f%asb player's island level%"
  46. set the text of id "%player%Slot7" to "&b&c&b"
  47. set the text of id "%player%Slot6" to "&b&c&b"
  48. set the text of id "%player%Slot5" to "&e&l/Vote Party &a&lLIVE"
  49. set the text of id "%player%Slot4" to "&e&l> &f%voteparty(1)% left"
  50. set the text of id "%player%Slot3" to "&e&l> &f%{voteparty}% / 10"
  51. set the text of id "%player%Slot2" to "&b&d&a"
  52. set the text of id "%player%Slot1" to "&b&d&a"
  53. if {sellbooster} is 1:
  54. set stylish scoreboard of player to "T-%player%"
  55. else:
  56. set stylish scoreboard of player to "T2-%player%"
  57. wait 10 ticks
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. function votepartystart():
  67. if cooldown "voteparty" is finish:
  68. broadcast "&b&l(!) &a&lVOTEPARTY ACTIVATED!"
  69. broadcast " &fWithin the next &e9m59s &fthere is:"
  70. broadcast " &e* 2x sell multiplier"
  71. set {sellbooster} to 2
  72. create cooldown "voteparty" for 9 minutes and 59 seconds
  73. wait 9 minutes and 59 seconds
  74. set {sellbooster} to 2
  75.  
  76. function voteparty(1: number) :: text:
  77. while "%cooldown ""voteparty""%" is set:
  78. set {votepartytimer} to timeConvert("%cooldown ""voteparty""%")
  79. set {votepartybooster} to parse("%{votepartytimer}%")
  80. return "%{votepartybooster}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement