Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- if {votepartybooster} is "0s":
- set {sellbooster} to 1
- function voteparty() :: text:
- set {_cooldown} to "%cooldown ""voteparty""%" parsed as a timespan
- set {votepartytimer} to roundedTimespan({_cooldown})
- set {votepartybooster} to parse("%{votepartytimer}%")
- return "%{votepartybooster}%"
- function deleteBoard(p: player):
- delete stylish scoreboard "P-%{_p}%"
- on join:
- player is online
- deleteBoard(player)
- loop 999999999 times:
- player is offline:
- stop
- if stylish scoreboard "P-%player%" does not exist:
- create new stylish scoreboard named "P-%player%"
- loop 11 times:
- create a new id based score "%player%Slot%loop-value-2%" with text "ยง%loop-number-2%" slot loop-value-2 for stylish scoreboard "P-%player%"
- set title of stylish scoreboard "P-%player%" to "&f&l&nLoL&b&l&nMC"
- set the text of id "%player%Slot11" to "&7&e&1"
- set the text of id "%player%Slot10" to "&a&lBank Account"
- set the text of id "%player%Slot9" to "&a&l> &f$%{money::%player%}%"
- set the text of id "%player%Slot8" to "&r&a"
- set the text of id "%player%Slot7" to "&c&lIsland Stats"
- set the text of id "%player%Slot6" to "&c&l> &cLevel &f%asb player's island level%"
- if {sellbooster} is not 1:
- set the text of id "%player%Slot5" to "&9&b&1"
- set the text of id "%player%Slot4" to "&e&l/Vote Party &a&lLIVE"
- set the text of id "%player%Slot3" to "&e&l> &f%voteparty()% left"
- set the text of id "%player%Slot2" to "&e&l> &f%{voteparty}% / 10"
- set the text of id "%player%Slot1" to "&e&d&a"
- set stylish scoreboard of player to "P-%player%"
- else:
- set the text of id "%player%Slot5" to "&8&d&a"
- set the text of id "%player%Slot4" to "&8&d&a"
- set the text of id "%player%Slot3" to "&e&l/Vote Party"
- set the text of id "%player%Slot2" to "&e&l> &f%{voteparty}% / 10"
- set the text of id "%player%Slot1" to "&e&d&a"
- set stylish scoreboard of player to "P-%player%"
- wait 10 ticks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement