Guest User

Untitled

a guest
Oct 24th, 2014
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.61 KB | None | 0 0
  1. command /efekt:
  2. aliases: efekty, effect, Efekt
  3. trigger:
  4. open chest with 3 rows named "&6&oMenu Efektów" to player
  5. wait 1 tick
  6. format slot 0 of player with 1 of swiftness potion named "&b&o&lSzybkość" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 1"
  7. wait 1 tick
  8. format slot 1 of player with 1 of Regeneration Potion named "&d&o&lRegeneracja" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 2"
  9. wait 1 tick
  10. format slot 2 of player with 1 of Strength Potion named "&4&o&lSiła" with lore "&6Czas: 5 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 3"
  11. wait 1 tick
  12. format slot 3 of player with 1 of night vision potion named "&1&o&lWidzenie w ciemnosci" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 4"
  13. wait 1 tick
  14. format slot 4 of player with 1 of fire resistance potion named "&e&o&lOdpornosc przed ogniem" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 5"
  15. wait 1 tick
  16. format slot 5 of player with 1 of potion of healing named "&3&o&lPospiech/Haste" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 6"
  17. wait 1 tick
  18. format slot 6 of player with 1 of invisibility potion named "&7&o&lNiewidzialność" with lore "&6Czas: &85 &aminut||&6Cena &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 7"
  19. wait 1 tick
  20. format slot 7 of player with 1 of Potion of Harming named "&5&o&lOdpornosc" with lore "&6Czas: &85 &aminut||&6Cena: &872 &bDiamenty||&6Moc: &8I" to close then run "efektadd %player% 8"
  21. wait 1 tick
  22. format slot 8 of player with 1 of bottle named "&4&o&lBrak" with lore "&6Czas: &4Brak||&6Cena: &4Brak ||&6Moc: &4Brak" to be unstealable
  23. wait 1 tick
  24. format slot 9 of player with 1 of swiftness potion named "&b&o&lSzybkość" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 9"
  25. wait 1 tick
  26. format slot 10 of player with 1 of Regeneration Potion named "&d&o&lRegeneracja" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 10"
  27. wait 1 tick
  28. format slot 11 of player with 1 of Strength Potion named "&4&o&lSiła" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 11"
  29. wait 1 tick
  30. format slot 12 of player with 1 of night vision potion named "&1&o&lWidzenie w ciemnosci" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 12"
  31. wait 1 tick
  32. format slot 13 of player with 1 of fire resistance potion named "&e&o&lOdpornosc przed ogniem" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 13"
  33. wait 1 tick
  34. format slot 14 of player with 1 of potion of healing named "&3&o&lPospiech/Haste" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 14"
  35. wait 1 tick
  36. format slot 15 of player with 1 of invisibility potion named "&7&o&lNiewidzialność" with lore "&6Czas: &810 &aminut||&6Cena &8144 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 15"
  37. wait 1 tick
  38. format slot 16 of player with 1 of Potion of Harming named "&5&o&lOdpornosc" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: II" to close then run "efektadd %player% 16"
  39. wait 1 tick
  40. format slot 17 of player with 1 of bottle named "&4&o&lBrak" with lore "&6Czas: &4Brak||&6Cena: &4Brak ||&6Moc: &4Brak" to be unstealable
  41. wait 1 tick
  42. format slot 18 of player with 1 of swiftness potion named "&b&o&lSzybkość" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 17"
  43. wait 1 tick
  44. format slot 19 of player with 1 of Regeneration Potion named "&d&o&lRegeneracja" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 18"
  45. wait 1 tick
  46. format slot 20 of player with 1 of Strength Potion named "&4&o&lSiła" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8II" to close then run "efektadd %player% 19"
  47. wait 1 tick
  48. format slot 21 of player with 1 of night vision potion named "&1&o&lWidzenie w ciemnosci" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 20"
  49. wait 1 tick
  50. format slot 22 of player with 1 of fire resistance potion named "&e&o&lOdpornosc przed ogniem" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 21"
  51. wait 1 tick
  52. format slot 23 of player with 1 of potion of healing named "&3&o&lPospiech/Haste" with lore "&6Czas: &820 &aminut||&6Cena: &8288 &2Emeraldow||&6Moc: &8II" to close then run "efektaddadd %player% 22"
  53. wait 1 tick
  54. format slot 24 of player with 1 of invisibility potion named "&7&o&lNiewidzialność" with lore "&6Czas: &820 &aminut||&6Cena &8288 &2Emeraldow||&6Moc: &8I" to close then run "efektadd %player% 23"
  55. wait 1 tick
  56. format slot 25 of player with 1 of Potion of Harming named "&5&o&lOdpornosc" with lore "&6Czas: &810 &aminut||&6Cena: &8144 &2Emeraldow||&6Moc: II" to close then run "efektadd %player% 24"
  57. wait 1 tick
  58. format slot 26 of player with 1 of bottle named "&4&o&lBrak" with lore "&6Czas: &4Brak||&6Cena: &4Brak ||&6Moc: &4Brak" to be unstealable
  59.  
  60.  
  61. command /efektadd [<player>] [<integer>]:
  62. executable by: console
  63. trigger:
  64. if arg 2 is 1:
  65. if player-arg has 72 diamonds:
  66. subtract 72 diamonds from player-arg's inventory
  67. apply speed to the player-arg for 300 seconds
  68. send "&3Otrzymales szybkosc I na 5 minut" to player-arg
  69. else:
  70. send "&cNie posiadasz 72 diamentow!" to player-arg
  71. if arg 2 is 2:
  72. if player-arg has 72 diamonds:
  73. subtract 72 diamonds from player-arg's inventory
  74. apply regeneration to the player-arg for 300 seconds
  75. send "&3Otrzymales Regeneracje na 5 mintut" to player-arg
  76. else:
  77. send "&cNie posiadasz 72 diamentow" to player-arg
  78. if arg 2 is 3:
  79. if player-arg has 72 diamonds:
  80. subtract 72 diamonds from player-arg's inventory
  81. apply Strength to the player-arg for 300 seconds
  82. send "&3Otrzymales Siłe I na 5 mintut" to player-arg
  83. else:
  84. send "&cNie posiadasz 72 diamentow" to player-arg
  85. if arg 2 is 4:
  86. if player-arg has 72 diamonds:
  87. subtract 72 diamonds from player-arg's inventory
  88. apply night vision to the player-arg for 300 seconds
  89. send "&3Otrzymales Widzenie w ciemnosci na 5 mintut" to player-arg
  90. else:
  91. send "&cNie posiadasz 72 diamentow" to player-arg
  92. if arg 2 is 5:
  93. if player-arg has 72 diamonds:
  94. subtract 72 diamonds from player-arg's inventory
  95. apply fire resistance to the player-arg for 300 seconds
  96. send "&3Otrzymales Odpornosc na ogien na 5 mintut" to player-arg
  97. else:
  98. send "&cNie posiadasz 72 diamentow" to player-arg
  99. if arg 2 is 6:
  100. if player-arg has 72 diamonds:
  101. subtract 72 diamonds from player-arg's inventory
  102. apply Haste to the player-arg for 300 seconds
  103. send "&3Otrzymales Pospiech/Haste na 5 mintut" to player-arg
  104. else:
  105. send "&cNie posiadasz 72 diamentow" to player-arg
  106. if arg 2 is 7:
  107. if player-arg has 72 diamonds:
  108. subtract 72 diamonds from player-arg's inventory
  109. apply invisibility to the player-arg for 300 seconds
  110. send "&3Otrzymales Niewidzialność na 5 mintut" to player-arg
  111. else:
  112. send "&cNie posiadasz 72 diamentow" to player-arg
  113. if arg 2 is 8:
  114. if player-arg has 72 diamonds:
  115. subtract 72 diamonds from player-arg's inventory
  116. apply resistance to the player-arg for 300 seconds
  117. send "&3Otrzymales Pospiech/Hate na 5 mintut" to player-arg
  118. else:
  119. send "&cNie posiadasz 72 diamentow" to player-arg
  120. if arg 2 is 9:
  121. if player-arg has 144 emerald:
  122. subtract 144 emerald from player-arg's inventory
  123. apply speed 2 to the player-arg for 600 seconds
  124. send "&3Otrzymales szybkosc II na 10 minut" to player-arg
  125. else:
  126. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  127. if arg 2 is 10:
  128. if player-arg has 144 emerald:
  129. subtract 144 emerald from player-arg's inventory
  130. apply regeneration 2 to the player-arg for 600 seconds
  131. send "&3Otrzymales Regeneracje II na 10 mintut" to player-arg
  132. else:
  133. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  134. if arg 2 is 11:
  135. if player-arg has 144 emerald:
  136. subtract 144 emerald from player-arg's inventory
  137. apply Strength 2 to the player-arg for 600 seconds
  138. send "&3Otrzymales Siłe II na 10 mintut" to player-arg
  139. else:
  140. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  141. if arg 2 is 12:
  142. if player-arg has 144 emerald:
  143. subtract 144 emerald from player-arg's inventory
  144. apply night vision to the player-arg for 600 seconds
  145. send "&3Otrzymales Widzenie w ciemnosci na 10 mintut" to player-arg
  146. else:
  147. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  148. if arg 2 is 13:
  149. if player-arg has 144 emerald:
  150. subtract 144 emerald from player-arg's inventory
  151. apply fire resistance to the player-arg for 600 seconds
  152. send "&3Otrzymales Odpornosc na ogien na 10 mintut" to player-arg
  153. else:
  154. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  155. if arg 2 is 14:
  156. if player-arg has 144 emerald:
  157. subtract 144 emerald from player-arg's inventory
  158. apply Haste 2 to the player-arg for 600 seconds
  159. send "&3Otrzymales Pospiech/Haste na 10 mintut" to player-arg
  160. else:
  161. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  162. if arg 2 is 15:
  163. if player-arg has 144 emerald:
  164. subtract 144 emerald from player-arg's inventory
  165. apply invisibility to the player-arg for 600 seconds
  166. send "&3Otrzymales Niewidzialność na 10 mintut" to player-arg
  167. else:
  168. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  169. if arg 2 is 16:
  170. if player-arg has 144 emerald:
  171. subtract 144 emerald from player-arg's inventory
  172. apply resistance to the player-arg for 600 seconds
  173. send "&3Otrzymales odpornosc na 10 mintut" to player-arg
  174. else:
  175. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  176. if arg 2 is 17:
  177. if player-arg has 288 emerald:
  178. subtract 288 emerald from player-arg's inventory
  179. apply speed 2 to the player-arg for 1200 seconds
  180. send "&3Otrzymales szybkosc II na 20 minut" to player-arg
  181. else:
  182. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  183. if arg 2 is 18:
  184. if player-arg has 288 emerald:
  185. subtract 288 emerald from player-arg's inventory
  186. apply regeneration 2 to the player-arg for 1200 seconds
  187. send "&3Otrzymales Regeneracje II na 20 mintut" to player-arg
  188. else:
  189. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  190. if arg 2 is 19:
  191. if player-arg has 288 emerald:
  192. subtract 288 emerald from player-arg's inventory
  193. apply Strength 2 to the player-arg for 1200 seconds
  194. send "&3Otrzymales Siłe II na 20 mintut" to player-arg
  195. else:
  196. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  197. if arg 2 is 20:
  198. if player-arg has 288 emerald:
  199. subtract 288 emerald from player-arg's inventory
  200. apply night vision to the player-arg for 1200 seconds
  201. send "&3Otrzymales Widzenie w ciemnosci na 20 mintut" to player-arg
  202. else:
  203. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  204. if arg 2 is 21:
  205. if player-arg has 288 emerald:
  206. subtract 288 emerald from player-arg's inventory
  207. apply fire resistance to the player-arg for 1200 seconds
  208. send "&3Otrzymales Odpornosc na ogien na 20 mintut" to player-arg
  209. else:
  210. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  211. if arg 2 is 22:
  212. if player-arg has 288 emerald:
  213. subtract 288 emerald from player-arg's inventory
  214. apply haste 2 to the player-arg for 1200 seconds
  215. send "&3Otrzymales Pospiech/Haste II na 20 mintut" to player-arg
  216. else:
  217. send "&cNie posiadasz 288 Emeraldow!" to player-arg
  218. if arg 2 is 23:
  219. if player-arg has 288 emerald:
  220. subtract 288 emerald from player-arg's inventory
  221. apply invisibility to the player-arg for 1200 seconds
  222. send "&3Otrzymales Niewidzialność na 20 mintut" to player-arg
  223. else:
  224. send "&cNie posiadasz 144 Emeraldow!" to player-arg
  225. if arg 2 is 24:
  226. if player-arg has 288 emerald:
  227. subtract 288 emerald from player-arg's inventory
  228. apply resistance 2 to the player-arg for 1200 seconds
  229. send "&3Otrzymales odpornosc II na 20 mintut" to player-arg
  230. else:
  231. send "&cNie posiadasz 288 Emeraldow!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment