SzaryGuy

Sword X

Feb 17th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. command /swordx [<text>]:
  2. trigger:
  3. if player have 10 diamond and 10 emerald:
  4. give wooden sword named "&3Miecz &4&lX" to the player
  5. remove 10 diamond from the player
  6. remove 10 emerald from the player
  7. else:
  8. send "&3Nie posiadasz 10 diamentow oraz 10 szmaragdow"
  9. if arg 1 is "autor":
  10. send "&4Autorem skryptu jest Team &3&lLiteSkript"
  11. if arg 1 is "komendy":
  12. send "&0♦&7/swordx- jezeli posiadasz 10 diamentów i 10 emeraldów daje ci &3Miecz &4&lX"
  13. send "&0♦&7/swordx autor- Pokazuje autora skryptu"
  14.  
  15.  
  16. on leftclick with a wooden sword:
  17. if name of player's tool is "&3Miecz &4&lX":
  18. damage target player or entity by 3 hearts
  19. chance of 1/50%:
  20. kill target player or entity
  21. send "&7x&0X&7x"
  22. damage tool by 58
  23. chance of 5%:
  24. shoot an fireball from player
  25.  
  26. on script load:
  27. register new shaped recipe for wooden sword named "&3Miecz &4&lX" using none, diamond, none, none, diamond, none, none, iron sword, none
Advertisement
Add Comment
Please, Sign In to add comment