Advertisement
Guest User

Untitled

a guest
Oct 26th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. command /wand:
  2. trigger:
  3. give player blaze rod named "&eWand"
  4. variables:
  5. {cl} = 10
  6. function Cooldown(p: player):
  7. loop ({cl} * 10) times:
  8. add -0.1 to {cl}
  9. send an action bar "&0&lcooldown -- &4%{cl}%" to {_p}
  10. wait 0.1 second
  11.  
  12. #----------------------------------------------------------------#
  13.  
  14. on left click holding a blaze rod:
  15. name of the player's tool is "&eWand":
  16. {wand.effect.%player%} is not set:
  17. set {wand.effect.%player%} to 1
  18. message "&eMagicwand&6: &7Leap"
  19. stop
  20. {wand.effect.%player%} is 1:
  21. set {wand.effect.%player%} to 2
  22. message "&eMagicwand&6: &7Heal"
  23. stop
  24. {wand.effect.%player%} is 2:
  25. set {wand.effect.%player%} to 3
  26. message "&eMagicwand&6: &7Teleport"
  27. stop
  28. {wand.effect.%player%} is 3:
  29. set {wand.effect.%player%} to 4
  30. message "&eMagicwand&6: &7Speed"
  31. stop
  32. {wand.effect.%player%} is 4:
  33. set {wand.effect.%player%} to 5
  34. message "&eMagicwand&6: &7Damage"
  35. stop
  36. {wand.effect.%player%} is 5:
  37. set {wand.effect.%player%} to 6
  38. message "&eMagicwand&6: &7Invisability"
  39. stop
  40. {wand.effect.%player%} is 6:
  41. set {wand.effect.%player%} to 7
  42. message "&eMagicwand&6: &7Tracker"
  43. stop
  44. {wand.effect.%player%} is 7:
  45. set {wand.effect.%player%} to 1
  46. message "&eMagicwand&6: &7Leap"
  47. stop
  48.  
  49. #----------------------------------------------------------------#
  50.  
  51. on right click holding a blaze rod:
  52. name of the player's tool is "&eWand":
  53. {wand.effect.%player%} is 1:
  54. push player upwards at speed 2
  55. push player in the direction of player with force 3
  56.  
  57. name of the player's tool is "&eWand":
  58. {wand.effect.%player%} is 2:
  59. play 3 heart at player
  60. heal the player by 0.5 hearts
  61.  
  62. name of the player's tool is "&eWand":
  63. {wand.effect.%player%} is 3:
  64. teleport player at block above target block
  65.  
  66. name of the player's tool is "&eWand":
  67. {wand.effect.%player%} is 4:
  68. set the player's walk speed to 5
  69. wait 5 seconds
  70. reset player's walk speed
  71.  
  72. name of the player's tool is "&eWand":
  73. {wand.effect.%player%} is 5:
  74. play 3 angry villager at target player
  75. damage the target player by 6 hearts
  76.  
  77. name of the player's tool is "&eWand":
  78. {wand.effect.%player%} is 6:
  79. drawWarpRings style 2, particle "redstone", RGB 0, 0, 255, center location above player, id "%player%", rainbowMode false, scan true, height 1.3, radius 1.1, ringCount 2, ringDensity 20, visibleRange 32, pulseDelay 2
  80. wait 0.5 seconds
  81. make player execute command "/stop"
  82. hide player from all players
  83. wait 3 seconds
  84. reveal player from all players
  85. drawWarpRings style 1, particle "redstone", RGB 255, 0, 0, center location of player, id "%player%", rainbowMode false, scan true, height 1.5, radius 1.1, ringCount 2, ringDensity 20, visibleRange 32, pulseDelay 2
  86. wait 0.5 seconds
  87. make player execute command "/stop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement