Advertisement
CREAMPAN0408

Untitled

Feb 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. options:
  2. swordv1: 75000
  3. swordv2: 300000
  4. swordv3: 600000
  5.  
  6.  
  7. command /information:
  8. trigger:
  9. send "&3--------------------------------[&7Special Swords&3]-------------------------------"
  10. send "&7--&3&lLegendary Sword&7--sharpness-3, fire aspect-3, knockback-3 {@swordv1} Dollars /sword v1"
  11. send "&7--&3&lSwordOfStorm&7--sharpness-5, fire aspect-5, knockback-5 {@swordv2} Dollars /sword v2"
  12. send "&7--&3&lSwordOfNight&7--sharpness-6, fire aspect-6, knockback-6 {@swordv3} Dollars /sword v3"
  13. send "&5All of swords apply slowness and weakness to victim ! "
  14. send "&3--------------------------------[&7Special Swords&3]--------------------------------"
  15.  
  16. command /sword <text>:
  17. permission message: &4&lYou don't have permission to do this!
  18. permission: sword.v
  19. trigger:
  20. if arg-1 is "v1":
  21. if player's money is greater than or equal to {@swordv1}:
  22. remove {@swordv1} from the player's balance
  23. send "&9You paid {@swordv1} and you bought &3&lLegendary Sword" to player
  24. give player 1 diamond sword of sharpness 3 and fire aspect 3 and knockback 3 named "&3&lLegendary Sword" with lore "&7This sword apply slowness and weakness to victim."
  25. else:
  26. send "&9You don't have {@swordv1}, please come another time."
  27. else if arg-1 is "v2":
  28. if player's money is greater than or equal to {@swordv2}:
  29. remove {@swordv2} from the player's balance
  30. send "&9You paid {@swordv2} and you bought &3&lSwordOfStorm" to player
  31. give player 1 diamond sword of sharpness 5 and fire aspect 5 and knockback 5 named "&3&lSwordOfStorm" with lore "&7This sword apply slowness and weakness to victim."
  32. else:
  33. send "&9You don't have {@swordv2}, please come another time."
  34.  
  35. else if arg-1 is "v3":
  36. if player's money is greater than or equal to {@swordv3}:
  37. remove {@swordv3} from the player's balance
  38. send "&9You paid {@swordv3} and you bought &3&lSwordOfNight" to player
  39. give player 1 diamond sword of sharpness 6 and fire aspect 6 and knockback 6 named "&3&lSwordOfNight" with lore "&7This sword apply slowness and weakness to victim."
  40. else:
  41. send "&9You don't have {@swordv3}, please come another time."
  42.  
  43.  
  44. on damage:
  45. if attacker is player:
  46. attacker's tool is diamond sword:
  47. tool of attacker's name is "&3&lLegendary Sword":
  48. apply slowness 1 to victim for 6 seconds
  49. wait 2 seconds
  50. apply weakness 1 to victim for 6 seconds
  51.  
  52. on damage:
  53. if attacker is player:
  54. attacker's tool is diamond sword:
  55. tool of attacker's name is "&3&lSwordOfStorm":
  56. apply slowness 1 to victim for 4 seconds
  57. wait 2 seconds
  58. apply weakness 1 to victim for 4 seconds
  59.  
  60. on damage:
  61. if attacker is player:
  62. attacker's tool is diamond sword:
  63. tool of attacker's name is "&3&lSwordOfNight":
  64. apply slowness 1 to victim for 3 seconds
  65. wait 2 seconds
  66. apply weakness 1 to victim for 3 seconds
  67.  
  68.  
  69. on rightclick on sign:
  70. line 1 of the clicked block is "[SpecialSwords]":
  71. line 2 of the clicked block is "LegendarySword":
  72. if player's money is greater than or equal to {@swordv1}:
  73. remove {@swordv1} from the player's balance
  74. send "&9You paid {@swordv1} and you bought &3&lLegendary Sword" to player
  75. give player 1 diamond sword of sharpness 3 and fire aspect 3 and knockback 3 named "&3&lLegendary Sword" with lore "&7This sword apply slowness and weakness to victim."
  76. else:
  77. send "&9You don't have {@swordv1}, please come another time."
  78.  
  79. on rightclick on sign:
  80. line 1 of the clicked block is "[SpecialSwords]":
  81. line 2 of the clicked block is "SwordOfStorm":
  82. if player's money is greater than or equal to {@swordv2}:
  83. remove {@swordv2} from the player's balance
  84. send "&9You paid {@swordv2} and you bought &3&lSwordOfStorm" to player
  85. give player 1 diamond sword of sharpness 5 and fire aspect 5 and knockback 5 named "&3&lSwordOfStorm" with lore "&7This sword apply slowness and weakness to victim."
  86. else:
  87. send "&9You don't have {@swordv2}, please come another time."
  88.  
  89. on rightclick on sign:
  90. line 1 of the clicked block is "[SpecialSwords]":
  91. line 2 of the clicked block is "SwordOfNight":
  92. if player's money is greater than or equal to {@swordv3}:
  93. remove {@swordv3} from the player's balance
  94. send "&9You paid {@swordv3} and you bought &3&lSwordOfNight" to player
  95. give player 1 diamond sword of sharpness 6 and fire aspect 6 and knockback 6 named "&3&lSwordOfNight" with lore "&7This sword apply slowness and weakness to victim."
  96. else:
  97. send "&9You don't have {@swordv3}, please come another time."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement