Advertisement
Guest User

Untitled

a guest
May 26th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. command /efekt:
  2. trigger:
  3. arg 1 is not set:
  4. open chest with 1 rows named "&2Efekty" to player
  5. wait 2 ticks
  6. format slot 3 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &35 &7Minut||&8>&7Koszt: &38 &7blokow Zlota||" to run "efe1 %player%"
  7. format slot 4 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &310 &7Minut||&8>&7Koszt: &315 &7blokow Zlota||" to run "efe2 %player%"
  8. format slot 5 of player with 1 of beacon named "&2&lHaste II" with lore "||&8>&7Czas Trwania: &320 &7Minut||&8>&7Koszt: &325 &7blokow Zlota||" to run "efe3 %player%"
  9. stop
  10.  
  11. command /efe1 [<player>]:
  12. trigger:
  13. if arg-player have 8 block of gold:
  14. remove haste from arg-player
  15. remove 8 block of gold from arg-player
  16. apply haste 2 to arg-player for 300 seconds
  17. run arg-player command "/effect %arg-player% 3 %{efe1.time}%"
  18. broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &25 &8minut!"
  19. else:
  20. send "&cNie posiadasz 8Blokow zlota na ten efekt!" to arg-player
  21. command /efe2 [<player>]:
  22. trigger:
  23. if arg-player have 15 block of gold:
  24. remove haste from arg-player
  25. remove 15 block of gold from arg-player
  26. apply haste 2 to arg-player for 600 seconds
  27. run arg-player command "/effect %arg-player% 3 %{efe2.time}%"
  28. broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &210 &8minut!"
  29. else:
  30. send "&cNie posiadasz 15Blokow zlota na ten efekt!" to arg-player
  31. command /efe3 [<player>]:
  32. trigger:
  33. if arg-player have 25 block of gold:
  34. remove haste from arg-player
  35. remove 15 block of gold from arg-player
  36. apply haste 2 to arg-player for 1200 seconds
  37. run arg-player command "/effect %arg-player% 3 %{efe2.time}%"
  38. broadcast "&8Gracz &2%arg-player% &8zakupil efekt &8Haste II na &220 &8minut!"
  39. else:
  40. send "&cNie posiadasz 25Blokow zlota na ten efekt!" to arg-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement