Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- swordv1: 75000
- swordv2: 300000
- swordv3: 600000
- command /information:
- trigger:
- send "&3--------------------------------[&7Special Swords&3]-------------------------------"
- send "&7--&3&lLegendary Sword&7--sharpness-3, fire aspect-3, knockback-3 {@swordv1} Dollars /sword v1"
- send "&7--&3&lSwordOfStorm&7--sharpness-5, fire aspect-5, knockback-5 {@swordv2} Dollars /sword v2"
- send "&7--&3&lSwordOfNight&7--sharpness-6, fire aspect-6, knockback-6 {@swordv3} Dollars /sword v3"
- send "&5All of swords apply slowness and weakness to victim ! "
- send "&3--------------------------------[&7Special Swords&3]--------------------------------"
- command /sword <text>:
- permission message: &4&lYou don't have permission to do this!
- permission: sword.v
- trigger:
- if arg-1 is "v1":
- if player's money is greater than or equal to {@swordv1}:
- remove {@swordv1} from the player's balance
- send "&9You paid {@swordv1} and you bought &3&lLegendary Sword" to player
- 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."
- else:
- send "&9You don't have {@swordv1}, please come another time."
- else if arg-1 is "v2":
- if player's money is greater than or equal to {@swordv2}:
- remove {@swordv2} from the player's balance
- send "&9You paid {@swordv2} and you bought &3&lSwordOfStorm" to player
- 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."
- else:
- send "&9You don't have {@swordv2}, please come another time."
- else if arg-1 is "v3":
- if player's money is greater than or equal to {@swordv3}:
- remove {@swordv3} from the player's balance
- send "&9You paid {@swordv3} and you bought &3&lSwordOfNight" to player
- 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."
- else:
- send "&9You don't have {@swordv3}, please come another time."
- on damage:
- if attacker is player:
- attacker's tool is diamond sword:
- tool of attacker's name is "&3&lLegendary Sword":
- apply slowness 1 to victim for 6 seconds
- wait 2 seconds
- apply weakness 1 to victim for 6 seconds
- on damage:
- if attacker is player:
- attacker's tool is diamond sword:
- tool of attacker's name is "&3&lSwordOfStorm":
- apply slowness 1 to victim for 4 seconds
- wait 2 seconds
- apply weakness 1 to victim for 4 seconds
- on damage:
- if attacker is player:
- attacker's tool is diamond sword:
- tool of attacker's name is "&3&lSwordOfNight":
- apply slowness 1 to victim for 3 seconds
- wait 2 seconds
- apply weakness 1 to victim for 3 seconds
- on rightclick on sign:
- line 1 of the clicked block is "[SpecialSwords]":
- line 2 of the clicked block is "LegendarySword":
- if player's money is greater than or equal to {@swordv1}:
- remove {@swordv1} from the player's balance
- send "&9You paid {@swordv1} and you bought &3&lLegendary Sword" to player
- 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."
- else:
- send "&9You don't have {@swordv1}, please come another time."
- on rightclick on sign:
- line 1 of the clicked block is "[SpecialSwords]":
- line 2 of the clicked block is "SwordOfStorm":
- if player's money is greater than or equal to {@swordv2}:
- remove {@swordv2} from the player's balance
- send "&9You paid {@swordv2} and you bought &3&lSwordOfStorm" to player
- 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."
- else:
- send "&9You don't have {@swordv2}, please come another time."
- on rightclick on sign:
- line 1 of the clicked block is "[SpecialSwords]":
- line 2 of the clicked block is "SwordOfNight":
- if player's money is greater than or equal to {@swordv3}:
- remove {@swordv3} from the player's balance
- send "&9You paid {@swordv3} and you bought &3&lSwordOfNight" to player
- 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."
- else:
- send "&9You don't have {@swordv3}, please come another time."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement