Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- item1: 10 diamond block #1 item potrzebny do stworzenia rzucanegotnt
- item2: 3 tnt #2 item potrzebny do stowrzenia rzucanegotnt
- brakItemow: &6Nie masz &a10 &6blokow &bdiamentow i &b3 &ctnt #Wiadomosc kiedy nie ma sie itemow na stworzenie tnt
- NoPlace: &cBlad: &4rzucanetnt nie mozna klasc! #Wiad wtedy kiedy chce sie klasc rzucanetnt
- command /rzucanetnt:
- trigger:
- player has {@item1} and {@item2}:
- remove {@item1} and {@item2} from player
- give a tnt of unbreaking 10 named "&aRzucane &ctnt" to the player
- else:
- message "{@brakItemow}"
- on rightclick:
- if name of player's tool is "&aRzucane &ctnt":
- message "&6zaczekaj! za 2 sekundy zostanie wyrzucone tnt!"
- wait 2 seconds
- remove 1 tnt named "&aRzucane &ctnt" from player
- shoot tnt from player with speed 5.0
- on place tnt:
- if name of player's tool is "&aRzucane &ctnt":
- cancel event
- message "{@NoPlace}"
Advertisement
Add Comment
Please, Sign In to add comment