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
- execute console command "/execute %player% ~ ~ ~ /particle endRod "
- 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
- on rightclick:
- player is holding book
- if name of player's tool is "§aarrowshoot":
- loop 5 times:
- wait a tick
- make the player shoot a arrow at speed 10
- execute console command "/clear %player% book 0 1"
- wait a tick
- give 20 gray dye named "Cooldown§b" to player
- loop 20 times:
- wait 1 seconds
- execute console command "/clear %player% dye 8 1"
- wait a tick
- give a book named "§bbackstep" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement