Guest User

asasad

a guest
Apr 1st, 2014
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. options:
  2. item1: 10 diamond block #1 item potrzebny do stworzenia rzucanegotnt
  3. item2: 3 tnt #2 item potrzebny do stowrzenia rzucanegotnt
  4. brakItemow: &6Nie masz &a10 &6blokow &bdiamentow i &b3 &ctnt #Wiadomosc kiedy nie ma sie itemow na stworzenie tnt
  5. NoPlace: &cBlad: &4rzucanetnt nie mozna klasc! #Wiad wtedy kiedy chce sie klasc rzucanetnt
  6.  
  7. command /rzucanetnt:
  8. trigger:
  9. player has {@item1} and {@item2}:
  10. remove {@item1} and {@item2} from player
  11. give a tnt of unbreaking 10 named "&aRzucane &ctnt" to the player
  12. else:
  13. message "{@brakItemow}"
  14.  
  15. on rightclick:
  16. if name of player's tool is "&aRzucane &ctnt":
  17. message "&6zaczekaj! za 2 sekundy zostanie wyrzucone tnt!"
  18. wait 2 seconds
  19. remove 1 tnt named "&aRzucane &ctnt" from player
  20. shoot tnt from player with speed 5.0
  21.  
  22. on place tnt:
  23. if name of player's tool is "&aRzucane &ctnt":
  24. cancel event
  25. message "{@NoPlace}"
Advertisement
Add Comment
Please, Sign In to add comment