Advertisement
kookoo1007

Untitled

Apr 14th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. on rightclick:
  2. player is holding book
  3. if name of player's tool is "§bbackstep":
  4. push the player backwards at speed 1
  5. push the player upwards at speed 0.5
  6. execute console command "/clear %player% book 0 1"
  7. wait a tick
  8. give 5 gray dye named "Cooldown§b" to player
  9. loop 5 times:
  10. wait 1 seconds
  11. execute console command "/clear %player% dye 8 1"
  12. wait a tick
  13. give a book named "§bbackstep" to player
  14. on drop:
  15. cancel event
  16.  
  17. on rightclick:
  18. player is holding book
  19. if name of player's tool is "§dheal":
  20. heal player by 3 hearts
  21. show 3 redstone particles at location of victim's head with color 255, 0, 0
  22. execute console command "/clear %player% book 0 1"
  23. wait a tick
  24. give 20 gray dye named "Cooldown" to player
  25. loop 20 times:
  26. wait 1 seconds
  27. execute console command "/clear %player% dye 8 1"
  28. wait a tick
  29. give a book named "§dheal" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement