Advertisement
kamsonn

SuperWeapons

Mar 28th, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. #=======================================================
  2. SuperWeapons
  3. Wersja: 1.3
  4. #=======================================================
  5. #Autorzy: kamsonnPL,FiruuGaming
  6. #=======================================================
  7. #Zakaz kopiowania i podszywania sie pod autorow skryptu!
  8. #Zakaz zmieniania czegokolwiek w skrypcie!
  9. #Zakaz kopiowania skryptu lub jego czesci!
  10. #Zakaz upowszechniania na forach!
  11. #Zakaz usuwania czegokolwiek ze skryptu!
  12. #=======================================================
  13.  
  14. command /sw [<text>]:
  15. aliases: superweapons
  16. permission: superweapons.use
  17. permissions message: &6[SuperWeapons]&4Nie masz dostepu do tej komendy!
  18. trigger:
  19. if arg 1 is not set:
  20. send "&e----------&6[SuperWeapons]&e----------"
  21. send "&e/sw menu - Otwiera menu broni SuperWeapons"
  22. send "&e/sw wersja - Pokazuje wersje SuperWeapons"
  23. send "&e/sw autor - Pokazuje autorow SuperWeapons"
  24. send "&e--------------------------------------"
  25. if arg 1 is "menu":
  26. open chest with 3 rows named "SuperWeapons 1.3" to player
  27. wait 2 tick
  28. format slot 0 of player with 1 of 369 named "&c&lRozdzka ognia" with lore "Kliknij,aby dostac" to run "give %player% blazerod 1 name:&c&lRozdzka_ognia"
  29. format slot 1 of player with 1 of stick named "&e&lMiotacz piorunow" with lore "Kliknij,aby dostac" to run "give %player% stick 1 name:&e&lMiotacz_piorunow"
  30. format slot 2 of player with 1 of stick named "&4&lMiotacz TNT" with lore "Kliknij,aby dostac" to run "give %player% stick 1 name:&4&lMiotacz_TNT"
  31. format slot 3 of player with 1 of feather named "&f&lWyrzutnia sniezek" with lore "Kliknij,aby dostac" to run "give %player% feather 1 name:&f&lWyrzutnia_sniezek"
  32. format slot 4 of player with 1 of 369 named "&6&lNiszczyciel" with lore "Kliknij,aby dostac" to run "give %player% 369 1 name:&6&lNiszczyciel"
  33. format slot 5 of player with 1 of iron sword named "&7&lSztylet ninja" with lore "Kliknij,aby dostac" to run "give %player% ironsword 1 name:&7&lSztylet_ninja"
  34. format slot 6 of player with 1 of nether star named "&4&lSuperHeal" with lore "Kliknij,aby dostac" to run "give %player% netherstar 1 name:&4&lSuperHeal"
  35. format slot 7 of player with 1 of nether star named "&7&lPierscien niewidzialnosci" with lore "Kliknij,aby dostac" to run "give %player% netherstar 1 name:&7&lPierscien_niewidzialnosci"
  36. if arg 1 is "wersja":
  37. send "&e----------&6[SuperWeapons]&e----------"
  38. send "&6Wersja: 1.3"
  39. send "&e--------------------------------------"
  40. if arg 1 is "autor":
  41. send "&e----------&6[SuperWeapons]&e----------"
  42. send " &6Autorzy:"
  43. send " &6kamsonnPL"
  44. send " &6FiruuGaming"
  45. send "&e--------------------------------------"
  46.  
  47. on rightclick holding a blaze rod:
  48. if name of player's tool is "&c&lRozdzka ognia":
  49. shoot a fireball from player
  50.  
  51. on rightclick holding a stick:
  52. if name of player's tool is "&e&lMiotacz piorunow":
  53. strike lightning at targeted block
  54.  
  55. on rightclick holding a stick:
  56. if name of player's tool is "&4&lMiotacz TNT":
  57. shoot a tnt from player
  58.  
  59. on rightclick holding a feather:
  60. if name of player's tool is "&f&lWyrzutnia sniezek":
  61. shoot a snowball from player
  62.  
  63. on rightclick holding a 369:
  64. if name of player's tool is "&6&lNiszczyciel":
  65. shoot a snowball from player
  66. shoot a tnt from player
  67. strike lightning at targeted block
  68. shoot a fireball from player
  69.  
  70. on rightclick:
  71. if player's tool is nether star named "&7&lPierscien niewidzialnosci":
  72. apply invisibility 255 to player for 9999 seconds
  73. stop
  74.  
  75. on rightclick:
  76. if player's tool is nether star named "&4&lSuperHeal":
  77. apply regeneration 255 to player for 1 seconds
  78. remove 1 nether star named "&4&lSuperHeal" from player
  79. stop
  80.  
  81. on leftclick:
  82. if player's tool is nether star named "&7&lPierscien niewidzialnosci":
  83. remove invisibility from player
  84. stop
  85.  
  86. on damage:
  87. if attacker is player:
  88. if attacker's tool is iron sword named "&7&lSztylet ninja":
  89. apply speed 1 to the attacker for 10 seconds
  90.  
  91. on script load:
  92. register new shaped recipe for 369 named "&c&lRozdzka ognia" using air, 377, air, air, 369, air, air, 369, air
  93. register new shaped recipe for stick named "&e&lMiotacz piorunow" using 373, 57, 373, 263, 280, 263, 133, 280, 133
  94. register new shaped recipe for stick named "&4&lMiotacz TNT" using 289, 57, 289, 46, 280, 46, 133, 280, 133
  95. register new shaped recipe for feather named "&f&lWyrzutnia sniezek" using 289, 332, 289, 332, 280, 332, 332, 280, 332
  96. register new shaped recipe for 369 named "&6&lNiszczyciel" using 399, 399, 399, 399, 369, 399, 399, 369, 399
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement