Raczuxdddd

Untitled

Aug 20th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.95 KB | None | 0 0
  1. command /efekty:
  2. trigger:
  3. open chest with 4 rows named "&2&lEfekty do zakupu!" to player
  4. format slot 10 of player with 1 of beacon named "&2Haste I" with lore "&f&cCzas trwania: 5 minut||&fKoszt: 32 emerlady" to close then run "dajefekt %player-arg% haste1"
  5. format slot 11 of player with 1 of beacon named "&2Haste II" with lore "&f&cCzas trwania: 10 minut||&fKoszt: 2x64 emeraldow" to close then run "dajefekt %player-arg% haste2"
  6. format slot 12 of player with 1 of diamond sword named "&cSila I" with lore "&f&cCzas trwania: 5 minut||&fKoszt: 4x64 emeraldow" to close then run "dajefekt %player-arg% sila"
  7. format slot 13 of player with 1 of nether star named "&fWysokie skakanie" with lore "&f&cCzas trwania: 5 minut||&fKoszt: 32 emeraldy" to close then run "dajefekt %player-arg% skok"
  8. format slot 14 of player with 1 of 353 named "&3Speed I" with lore "&f&cCzas trwania: 10 minut||&fKoszt: 32 emerlady" to close then run "dajefekt %player-arg% speed1"
  9. format slot 15 of player with 1 of 353 named "&3Speed II" with lore "&f&cCzas trwania: 10 minut||&fKoszt: 64 emerlady" to close then run "dajefekt %player-arg% speed2"
  10. format slot 16 of player with 1 of 377 named "&6Odpornosc na ogien" with lore "&f&cCzas trwania: 10 minut||&fKoszt: 3x64 emeraldow" to close then run "dajefekt %player-arg% fire"
  11. format slot 22 of player with 1 of fire named "&c&lKliknij aby wyjsc!" wiht lore "&f(Zamknij i wyjdz)"to close
  12.  
  13. command /dajefekt [<player>] [<text>]:
  14. executable by: console
  15. trigger:
  16. if arg 2 is "haste1":
  17. if {haste1.%player-arg%} is true:
  18. message "&cJuz masz ten efekt!" to player-arg
  19. else:
  20. if number of emeralds in the player-arg's inventory is more or equal to 64:
  21. set {haste1.%player-arg%} to true
  22. message "&2Efekt Zabojcy zostal zakupiony!" to player-arg
  23. remove 32 of emerald from player-arg's inventory
  24. apply haste 1 to player-arg for 300 seconds
  25. delete {haste.%player-arg%}
  26. else:
  27. message "&cNie masz tyle emeraldow!" to player-arg
  28.  
  29. else if arg 2 is "haste2":
  30. if {haste2.%player-arg%} is true:
  31. message "&cJuz masz ten efekt!" to player-arg
  32. else:
  33. if number of emeralds in the player-arg's inventory is more or equal to 128:
  34. set {haste2.%player-arg%} to true
  35. message "&2Efekt Haste II zostal zakupiony!" to player-arg
  36. remove 128 of emerald from player-arg's inventory
  37. apply haste 2 to player-arg for 600 seconds
  38. delete {haste2.%player-arg%}
  39. else:
  40. message "&cNie masz tyle emeraldow!" to player-arg
  41.  
  42. else if arg 2 is "sila":
  43. if {sila.%player-arg%} is true:
  44. message "&cJuz masz ten efekt!" to player-arg
  45. else:
  46. if number of emeralds in the player-arg's inventory is more or equal to 256:
  47. message "&2Efekt Sily zostal zakupiony!" to player-arg
  48. set {sila.%player-arg%} to true
  49. remove 256 of emerald from player-arg's inventory
  50. apply strength to player-arg for 300 seconds
  51. delete {sila.%player-arg%}
  52. else:
  53. message "&cNie masz tyle emeraldow!" to player-arg
  54.  
  55. else if arg 2 is "skok":
  56. if {skok.%player-arg%} is true:
  57. message "&cJuz masz ten efekt!" to player-arg
  58. else:
  59. if number of emeralds in the player-arg's inventory is more or equal to 32:
  60. message "&2Efekt Wysokiego skakania zostal zakupiony!" to player-arg
  61. set {sila.%player-arg%} to true
  62. remove 32 of emerald from player-arg's inventory
  63. apply jump boost 2 to player-arg for 300 seconds
  64. delete {sila.%player-arg%}
  65. else:
  66. message "&cNie masz tyle emeraldow!" to player-arg
  67.  
  68. else if arg 2 is "speed1":
  69. if {speed1.%player-arg%} is true:
  70. message "&cJuz masz ten efekt!" to player-arg
  71. else:
  72. if number of emeralds in the player-arg's inventory is more or equal to 32:
  73. message "&3Efekt Speed'a zostal zakupiony!" to player-arg
  74. set {speed1.%player-arg%} to true
  75. remove 32 of emerald from player-arg's inventory
  76. apply speed 1 to player-arg for 300 seconds
  77. delete {speed1.%player-arg%}
  78. else:
  79. message "&cNie masz tyle emeraldow!" to player-arg
  80.  
  81. else if arg 2 is "speed2":
  82. if {speed2.%player-arg%} is true:
  83. message "&cJuz masz ten efekt!" to player-arg
  84. else:
  85. if number of emeralds in the player-arg's inventory is more or equal to 64:
  86. message "&3Efekt Speed'a zostal zakupiony!" to player-arg
  87. set {speed2.%player-arg%} to true
  88. remove 64 of emerald from player-arg's inventory
  89. apply speed 2 to player-arg for 300 seconds
  90. delete {speed2.%player-arg%}
  91. else:
  92. message "&cNie masz tyle emeraldow!" to player-arg
  93.  
  94. else if arg 2 is "fire":
  95. if {fire.%player-arg%} is true:
  96. message "&cJuz masz ten efekt!" to player-arg
  97. else:
  98. if number of emeralds in the player-arg's inventory is more or equal to 192:
  99. message "&3Efekt Odpornosci na ogien zostal zakupiony!" to player-arg
  100. set {fire.%player-arg%} to true
  101. remove 192 of emerald from player-arg's inventory
  102. apply fire resistance to player-arg for 300 seconds
  103. delete {fire.%player-arg%}
  104. else:
  105. message "&cNie masz tyle emeraldow!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment