Advertisement
Savanis

Untitled

Dec 8th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. Command /Begin:
  2. trigger:
  3. give player 1 of diamond pickaxe
  4. Command /Fix:
  5. trigger:
  6. if player is holding a diamond pickaxe:
  7. enchant the player's tool with efficiency 1000
  8. On break of emerald block:
  9. if {Rank::%player%} is not set:
  10. set {_N} to 1
  11. if {Rank::%player%} is 2:
  12. set {_N} to 1.5
  13. set {_F} to ({_N}*{Fortune::%player%}/2+1)
  14. cancel event
  15. set the block to air
  16. add {_F} to {Money::%player%}
  17. every second:
  18. loop all players:
  19. set {_Fish} to {EC::%loop-player%}
  20. set {_bal} to {Money::%loop-player%}
  21. if {_bal} is between 1000 and 999999:
  22. set {_new} to "&c$%{_bal}/1000%k"
  23. else if {_bal} is between 1000000 and 999999999:
  24. set {_new} to "&c$%{_bal}/1000000%m"
  25. else:
  26. set {_new} to "&c$%{_bal}%"
  27. wipe loop-player's sidebar
  28. set name of sidebar of loop-player to "&c&nVEmerald"
  29. set score "&aBalance: &c%{_new}%" in sidebar of loop-player to 8
  30. set score "&3" in sidebar of loop-player to 7
  31. set score "&8Rank: &cComing soon." in sidebar of loop-player to 6
  32. set score "&7" in sidebar of loop-player to 5
  33. set score "&6Server bans: &c%{ServerBabs}%" in sidebar of loop-player to 4
  34. set score "&5" in sidebar of loop-player to 3
  35. set score "&4Enlightment crystals: &6%{_Fish}%" in sidebar of loop-player to 2
  36. set score "&3" in sidebar of loop-player to 1
  37. On break:
  38. chance of 10%:
  39. add 1 to {EC::%player%}
  40. Command /Bc [<Text>]:
  41. trigger:
  42. if player has permission "Chat.Broadcast":
  43. broadcast "&7[&bAnnouncement&7] &9%arg-1%"
  44. Command /Broadcast [<Text>]:
  45. trigger:
  46. if player has permission "Chat.Broadcast":
  47. broadcast "&7[&bAnnouncement&7] &9%arg-1%"
  48. Command /Bal [<Player>]:
  49. trigger:
  50. if arg-1 is not set:
  51. send "&cYour balance is &b%{Money::%player%}%"
  52. Else:
  53. send "&c%arg-1%'s balance is &b%{Money::%arg-1%}%"
  54. Command /FortuneUp:
  55. trigger:
  56. set {_M} to (({Fortune::%player%})*750+750)
  57. if {EC::%Player%} >= {_M}:
  58. add 1 to {Fortune::%player%}
  59. send "&c-%{Fish}% EnlightmentCrystals."
  60. remove {_M} from {EC::%player%}
  61. send "&cFortune level: &9%{Fortune::%player%}%"
  62. else:
  63. send "&cYou need: &9%{_M}% EnlightmentCrystals"
  64. Command /L:
  65. trigger:
  66. set {Money::%player%} to 0
  67. Command /Reset:
  68. trigger:
  69. set {Money::%player%} to 0
  70. set {Fortune::%player%} to 0
  71. set {CE::%player%} to 0
  72. send "&cComplete"
  73. Command /Rankup:
  74. trigger:
  75. if {Rank::%player%} is not set:
  76. if {Money::%player%} >= 5000:
  77. send "&aSucsess"
  78. set {Rank::%player%} to 2
  79. remove 5000 from {Money::%player%}
  80. make console execute command "/pex user %player% suffix " &6II"
  81. end
  82. else:
  83. send "&cNeed $5000"
  84. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement