Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /wand:
- trigger:
- give player blaze rod named "&eWand"
- variables:
- {cl} = 10
- function Cooldown(p: player):
- loop ({cl} * 10) times:
- add -0.1 to {cl}
- send an action bar "&0&lcooldown -- &4%{cl}%" to {_p}
- wait 0.1 second
- #----------------------------------------------------------------#
- on left click holding a blaze rod:
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is not set:
- set {wand.effect.%player%} to 1
- message "&eMagicwand&6: &7Leap"
- stop
- {wand.effect.%player%} is 1:
- set {wand.effect.%player%} to 2
- message "&eMagicwand&6: &7Heal"
- stop
- {wand.effect.%player%} is 2:
- set {wand.effect.%player%} to 3
- message "&eMagicwand&6: &7Teleport"
- stop
- {wand.effect.%player%} is 3:
- set {wand.effect.%player%} to 4
- message "&eMagicwand&6: &7Speed"
- stop
- {wand.effect.%player%} is 4:
- set {wand.effect.%player%} to 5
- message "&eMagicwand&6: &7Damage"
- stop
- {wand.effect.%player%} is 5:
- set {wand.effect.%player%} to 6
- message "&eMagicwand&6: &7Invisability"
- stop
- {wand.effect.%player%} is 6:
- set {wand.effect.%player%} to 7
- message "&eMagicwand&6: &7Tracker"
- stop
- {wand.effect.%player%} is 7:
- set {wand.effect.%player%} to 1
- message "&eMagicwand&6: &7Leap"
- stop
- #----------------------------------------------------------------#
- on right click holding a blaze rod:
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 1:
- push player upwards at speed 2
- push player in the direction of player with force 3
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 2:
- play 3 heart at player
- heal the player by 0.5 hearts
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 3:
- teleport player at block above target block
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 4:
- set the player's walk speed to 5
- wait 5 seconds
- reset player's walk speed
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 5:
- play 3 angry villager at target player
- damage the target player by 6 hearts
- name of the player's tool is "&eWand":
- {wand.effect.%player%} is 6:
- 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
- wait 0.5 seconds
- make player execute command "/stop"
- hide player from all players
- wait 3 seconds
- reveal player from all players
- 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
- wait 0.5 seconds
- make player execute command "/stop"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement