Guest User

Ziolek

a guest
Mar 26th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.61 KB | None | 0 0
  1. command /efekt:
  2. aliases: efekty, Efekt
  3. trigger:
  4. open chest with 2 rows named "&e&l&oMenu Efektow " to player
  5. wait 1 tick
  6. format slot 12 of player with 1 of beacon named "&7Efekt &bHaste" with lore "&7Czas : &a10 Minut||&7Koszt : &a70 &aEmeraldow" to close then run "efektadd %player% 3"
  7. wait 1 tick
  8. format slot 13 of player with 1 of sponge named "&7Efekt &eSkok V" with lore "&7Czas : &a20 &aSekund||&7Koszt : &a50 Emeraldow" to close then run "efektadd %player% 4"
  9. wait 1 tick
  10. format slot 14 of player with 1 of beacon named "&7Efekty &bHaste &fII" with lore "&aCzas &f&l: &810 &2Minut||&aKoszt &f&l: &a100 &2Emeraldow" to close then run "efektadd %player% 5"
  11. wait 1 tick
  12. format slot 0 of player with 1 of 373:8201 named "&7Potka na &cSile" with lore "&7Czas : &a1 Minuta||&7Koszt : &a45 Emeraldow" to close then run "efektadd %player% 1"
  13. wait 1 tick
  14. format slot 1 of player with 1 of 373:8233 named "&7Potka na &cSile &fII" with lore "&7Czas : &a1.5 Minuty||&7Koszt : &a60 Emeraldow" to close then run "efektadd %player% 2"
  15. wait 1 tick
  16. format slot 2 of player with 1 of 373:8193 named "&7Potka na &dRegeneracje" with lore "&7Czas : &a45 Sekund||&7Koszt : &a30 Emeraldow" to close then run "efektadd %player% 6"
  17. wait 1 tick
  18. format slot 3 of player with 1 of 373:8225 named "&7Potka na &dRegeneracje &fII" with lore "&7Czas : &a22 Sekundy||&7Koszt : &a35 Emeraldow" to close then run "efektadd %player% 7"
  19. wait 1 tick
  20. format slot 4 of player with 1 of 373:8194 named "&7Potka na &3Szybkosc" with lore "&7Czas : &a3 Minuty||&7Koszt : &a45 Emeraldow" to close then run "efektadd %player% 8"
  21. wait 1 tick
  22. format slot 5 of player with 1 of 373:8226 named "&7Potka na &3Szybkosc &fII" with lore "&7Czas : &a1.5 Minuty||&7Koszt : &a53 Emeraldow" to close then run "efektadd %player% 9"
  23. wait 1 tick
  24. format slot 6 of player with 1 of 373:8227 named "&7Potka na &6Odpornosc Przed ogniem" with lore "&7Czas : &a3 Minuty||&7Koszt : &a50 Emeraldow" to close then run "efektadd %player% 10"
  25. wait 1 tick
  26. format slot 7 of player with 1 of 373:8238 named "&7Potka na &bNiewidzialnosc" with lore "&7Czas : &a3 Minuty||&7Koszt : &a55 Emeraldow" to close then run "efektadd %player% 11"
  27. wait 1 tick
  28.  
  29.  
  30. command /efektadd [<player>] [<integer>]:
  31. executable by: console
  32. trigger:
  33. if arg 2 is 3:
  34. if player-arg has 70 emerald:
  35. subtract 70 emerald from player-arg's inventory
  36. apply Haste to the player-arg for 600 seconds
  37. send "&aOtrzymales &bHASTE &ana 10 Minut!" to player-arg
  38. else:
  39. send "&cNie posiadasz 70 Emeraldow!" to player-arg
  40. if arg 2 is 5:
  41. if player-arg has 100 emerald:
  42. subtract 100 emerald from player-arg's inventory
  43. apply Haste 2 to the player-arg for 600 seconds
  44. send "&aOtrzymales &bHASTE II &ana 10 Minut!" to player-arg
  45. else:
  46. send "&cNie posiadasz 100 Emeraldow!" to player-arg
  47. if arg 2 is 4:
  48. if player-arg has 50 emerald:
  49. subtract 50 emerald from player-arg's inventory
  50. apply Jump 5 to the player-arg for 10 seconds
  51. send "&aOtrzymales Efekt Potki na &eSkok V &7(5)" to player-arg
  52. else:
  53. send "&cNie posiadzasz 50 Emeraldow!!" to player-arg
  54. if arg 2 is 1:
  55. if player-arg has 45 emerald:
  56. subtract 45 emerald from player-arg's inventory
  57. apply Strength to the player-arg for 60 seconds
  58. send "Otrzymales Efekt Potki na &cSile" to player-arg
  59. else:
  60. send "&cNie posiadzasz 45 Emeraldow!!" to player-arg
  61. if arg 2 is 2:
  62. if player-arg has 60 emerald:
  63. subtract 60 emerald from player-arg's inventory
  64. apply Strength 2 to the player-arg for 90 seconds
  65. send "&aOtrzymales Efekty &cSily &fII" to player-arg
  66. else:
  67. send "&cNie posiadzasz 60 Emeraldow!!" to player-arg
  68. if arg 2 is 6:
  69. if player-arg has 30 emerald:
  70. subtract 30 emerald from player-arg's inventory
  71. apply regeneration to the player-arg for 45 seconds
  72. send "&aOtrzymales Efekt Potki na &dRegeneracje" to player-arg
  73. else:
  74. send "&cNie posiadzasz 30 Emeraldow!!" to player-arg
  75. if arg 2 is 7:
  76. if player-arg has 35 emerald:
  77. subtract 35 emerald from player-arg's inventory
  78. apply regeneration 2 to the player-arg for 22 seconds
  79. send "&aOtrzymales Efekt Potki na &dRegeneracje &fII" to player-arg
  80. else:
  81. send "&cNie posiadzasz 35 Emeraldow!!" to player-arg
  82. if arg 2 is 8:
  83. if player-arg has 45 emerald:
  84. subtract 45 emerald from player-arg's inventory
  85. apply speed to the player-arg for 180 seconds
  86. send "&aOtrzymales Efekt Potki na &bSzybkosc" to player-arg
  87. else:
  88. send "&cNie posiadzasz 45 Emeraldow!!" to player-arg
  89. if arg 2 is 9:
  90. if player-arg has 53 emerald:
  91. subtract 53 emerald from player-arg's inventory
  92. apply speed 2 to the player-arg for 90 seconds
  93. send "&aOtrzymales Efekt Potki na &bSzybkosc &fII" to player-arg
  94. else:
  95. send "&cNie posiadzasz 53 Emeraldow!!" to player-arg
  96. if arg 2 is 10:
  97. if player-arg has 50 emerald:
  98. subtract 50 emerald from player-arg's inventory
  99. apply fire resistance to the player-arg for 180 seconds
  100. send "&aOtrzymales Efekt Potki na &eOchrona Przed ogniem" to player-arg
  101. else:
  102. send "&cNie posiadzasz 50 Emeraldow!!" to player-arg
  103. if arg 2 is 11:
  104. if player-arg has 55 emerald:
  105. subtract 55 emerald from player-arg's inventory
  106. apply fire resistance to the player-arg for 180 seconds
  107. send "&aOtrzymales Efekt Potki na &bNiewidzialnosc" to player-arg
  108. else:
  109. send "&cNie posiadzasz 55 Emeraldow!!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment