Guest User

Untitled

a guest
Aug 25th, 2021
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. options:
  2. speed: 2.5
  3. command /pistol:
  4. permission: gun.get
  5. trigger:
  6. give player 1 iron horse armor named "&8Pistol" with lore "&7Ammo: &75"
  7. give player 64 spruce doors named "&6Pistol Ammo Clip"
  8. on rightclick:
  9. if player is holding a spruce doors named "&6Pistol Ammo Clip":
  10. cancel event
  11. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &75":
  12. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &74"
  13. shoot arrow at speed {@speed}
  14. send action bar "&7Ammo: &74" to player
  15. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &74":
  16. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &73"
  17. shoot arrow at speed {@speed}
  18. send action bar "&7Ammo: &73" to player
  19. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &73":
  20. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &72"
  21. shoot arrow at speed {@speed}
  22. send action bar "&7Ammo: &72" to player
  23. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &72":
  24. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &71"
  25. shoot arrow at speed {@speed}
  26. send action bar "&7Ammo: &71" to player
  27. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &71":
  28. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &70"
  29. shoot arrow at speed {@speed}
  30. send action bar "&7Ammo: &70" to player
  31. else if player is holding a iron horse armor named "&8Pistol" with lore "&7Ammo: &70":
  32. if player contains a spruce doors named "&6Pistol Ammo Clip":
  33. remove 1 spruce doors named "&6Pistol Ammo Clip" from player
  34. set player's held item to iron horse armor named "&8Pistol" with lore "&7Ammo: &75"
  35. send action bar "&7Ammo: &75" to player
Advertisement
Add Comment
Please, Sign In to add comment