Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Command /Begin:
- trigger:
- give player 1 of diamond pickaxe
- Command /Fix:
- trigger:
- if player is holding a diamond pickaxe:
- enchant the player's tool with efficiency 1000
- On break of emerald block:
- if {Rank::%player%} is not set:
- set {_N} to 1
- if {Rank::%player%} is 2:
- set {_N} to 1.5
- set {_F} to ({_N}*{Fortune::%player%}/2+1)
- cancel event
- set the block to air
- add {_F} to {Money::%player%}
- every second:
- loop all players:
- set {_Fish} to {EC::%loop-player%}
- set {_bal} to {Money::%loop-player%}
- if {_bal} is between 1000 and 999999:
- set {_new} to "&c$%{_bal}/1000%k"
- else if {_bal} is between 1000000 and 999999999:
- set {_new} to "&c$%{_bal}/1000000%m"
- else:
- set {_new} to "&c$%{_bal}%"
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&c&nVEmerald"
- set score "&aBalance: &c%{_new}%" in sidebar of loop-player to 8
- set score "&3" in sidebar of loop-player to 7
- set score "&8Rank: &cComing soon." in sidebar of loop-player to 6
- set score "&7" in sidebar of loop-player to 5
- set score "&6Server bans: &c%{ServerBabs}%" in sidebar of loop-player to 4
- set score "&5" in sidebar of loop-player to 3
- set score "&4Enlightment crystals: &6%{_Fish}%" in sidebar of loop-player to 2
- set score "&3" in sidebar of loop-player to 1
- On break:
- chance of 10%:
- add 1 to {EC::%player%}
- Command /Bc [<Text>]:
- trigger:
- if player has permission "Chat.Broadcast":
- broadcast "&7[&bAnnouncement&7] &9%arg-1%"
- Command /Broadcast [<Text>]:
- trigger:
- if player has permission "Chat.Broadcast":
- broadcast "&7[&bAnnouncement&7] &9%arg-1%"
- Command /Bal [<Player>]:
- trigger:
- if arg-1 is not set:
- send "&cYour balance is &b%{Money::%player%}%"
- Else:
- send "&c%arg-1%'s balance is &b%{Money::%arg-1%}%"
- Command /FortuneUp:
- trigger:
- set {_M} to (({Fortune::%player%})*750+750)
- if {EC::%Player%} >= {_M}:
- add 1 to {Fortune::%player%}
- send "&c-%{Fish}% EnlightmentCrystals."
- remove {_M} from {EC::%player%}
- send "&cFortune level: &9%{Fortune::%player%}%"
- else:
- send "&cYou need: &9%{_M}% EnlightmentCrystals"
- Command /L:
- trigger:
- set {Money::%player%} to 0
- Command /Reset:
- trigger:
- set {Money::%player%} to 0
- set {Fortune::%player%} to 0
- set {CE::%player%} to 0
- send "&cComplete"
- Command /Rankup:
- trigger:
- if {Rank::%player%} is not set:
- if {Money::%player%} >= 5000:
- send "&aSucsess"
- set {Rank::%player%} to 2
- remove 5000 from {Money::%player%}
- make console execute command "/pex user %player% suffix " &6II"
- end
- else:
- send "&cNeed $5000"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement