Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function deleteBoard(p: player):
- delete stylish scoreboard "T-%{_p}%"
- loop 15 times:
- delete metadata "scoreboard%loop-number%" of {_p}
- delete metadata "scoreboardtitle" of {_p}
- on join:
- player is online
- deleteBoard(player)
- loop 999999999 times:
- player is offline:
- stop
- if stylish scoreboard "T-%player%" does not exist:
- create new stylish scoreboard named "T-%player%"
- loop 15 times:
- 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%"
- set title of stylish scoreboard "T-%player%" to "&f&l&nLoL&b&l&nMC"
- set the text of id "%player%Slot15" to "&a&b&a"
- set the text of id "%player%Slot14" to "&a&b&a"
- set the text of id "%player%Slot13" to "&a&b&a"
- set the text of id "%player%Slot12" to "&a&lBank Account"
- set the text of id "%player%Slot11" to "&a&l> &f$%{money::%player%}%"
- set the text of id "%player%Slot10" to "&r&a"
- set the text of id "%player%Slot9" to "&c&lIsland Stats"
- set the text of id "%player%Slot8" to "&c&l> &cLevel &f%asb player's island level%"
- set the text of id "%player%Slot7" to "&b&c&b"
- set the text of id "%player%Slot6" to "&b&c&b"
- set the text of id "%player%Slot5" to "&e&l/Vote Party"
- set the text of id "%player%Slot4" to "&e&l> &f%{voteparty}% / 10"
- set the text of id "%player%Slot3" to "&e&d&a"
- set the text of id "%player%Slot2" to "&e&d&a"
- set the text of id "%player%Slot1" to "&e&d&a"
- if stylish scoreboard "T2-%player%" does not exist:
- create new stylish scoreboard named "T2-%player%"
- loop 15 times:
- 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%"
- set title of stylish scoreboard "T-%player%" to "&f&l&nLoL&b&l&nMC"
- set the text of id "%player%Slot15" to "&a&b&a"
- set the text of id "%player%Slot14" to "&a&b&a"
- set the text of id "%player%Slot13" to "&a&b&a"
- set the text of id "%player%Slot12" to "&a&lBank Account"
- set the text of id "%player%Slot11" to "&a&l> &f$%{money::%player%}%"
- set the text of id "%player%Slot10" to "&r&a"
- set the text of id "%player%Slot9" to "&c&lIsland Stats"
- set the text of id "%player%Slot8" to "&c&l> &cLevel &f%asb player's island level%"
- set the text of id "%player%Slot7" to "&b&c&b"
- set the text of id "%player%Slot6" to "&b&c&b"
- set the text of id "%player%Slot5" to "&e&l/Vote Party &a&lLIVE"
- set the text of id "%player%Slot4" to "&e&l> &f%voteparty(1)% left"
- set the text of id "%player%Slot3" to "&e&l> &f%{voteparty}% / 10"
- set the text of id "%player%Slot2" to "&b&d&a"
- set the text of id "%player%Slot1" to "&b&d&a"
- if {sellbooster} is 1:
- set stylish scoreboard of player to "T-%player%"
- else:
- set stylish scoreboard of player to "T2-%player%"
- wait 10 ticks
- function votepartystart():
- if cooldown "voteparty" is finish:
- broadcast "&b&l(!) &a&lVOTEPARTY ACTIVATED!"
- broadcast " &fWithin the next &e9m59s &fthere is:"
- broadcast " &e* 2x sell multiplier"
- set {sellbooster} to 2
- create cooldown "voteparty" for 9 minutes and 59 seconds
- wait 9 minutes and 59 seconds
- set {sellbooster} to 2
- function voteparty(1: number) :: text:
- while "%cooldown ""voteparty""%" is set:
- set {votepartytimer} to timeConvert("%cooldown ""voteparty""%")
- set {votepartybooster} to parse("%{votepartytimer}%")
- return "%{votepartybooster}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement