Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- player is holding book
- if name of player's tool is "§bbackstep":
- push the player backwards at speed 1
- push the player upwards at speed 0.5
- execute console command "/clear %player% book 0 1"
- wait a tick
- give 5 gray dye named "Cooldown§b" to player
- loop 5 times:
- wait 1 seconds
- execute console command "/clear %player% dye 8 1"
- wait a tick
- give a book named "§bbackstep" to player
- on drop:
- cancel event
- on rightclick:
- player is holding book
- if name of player's tool is "§dheal":
- heal player by 3 hearts
- show 3 redstone particles at location of victim's head with color 255, 0, 0
- execute console command "/clear %player% book 0 1"
- wait a tick
- give 20 gray dye named "Cooldown" to player
- loop 20 times:
- wait 1 seconds
- execute console command "/clear %player% dye 8 1"
- wait a tick
- give a book named "§dheal" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement