Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- speed: 2.5
- command /pistol:
- permission: gun.get
- trigger:
- give player 1 iron horse armor named "&8Pistol" with lore "&7Ammo: &75"
- give player 64 spruce doors named "&6Pistol Ammo Clip"
- on rightclick:
- if player is holding a spruce doors named "&6Pistol Ammo Clip":
- cancel event
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &75":
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &74"
- shoot arrow at speed {@speed}
- send action bar "&7Ammo: &74" to player
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &74":
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &73"
- shoot arrow at speed {@speed}
- send action bar "&7Ammo: &73" to player
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &73":
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &72"
- shoot arrow at speed {@speed}
- send action bar "&7Ammo: &72" to player
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &72":
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &71"
- shoot arrow at speed {@speed}
- send action bar "&7Ammo: &71" to player
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &71":
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &70"
- shoot arrow at speed {@speed}
- send action bar "&7Ammo: &70" to player
- else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &70":
- if player contains a spruce doors named "&6Pistol Ammo Clip":
- remove 1 spruce doors named "&6Pistol Ammo Clip" from player
- set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &75"
- send action bar "&7Ammo: &75" to player
Advertisement
Add Comment
Please, Sign In to add comment