70sOn7

Untitled

Apr 6th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. on any movement:
  2. if {test} is true:
  3. if player is wearing a elytra:
  4. set {_b} to block below player
  5. if {_b} is not air:
  6. set player's chestplate to air
  7. send "&aRemoved elytra"
  8.  
  9. command /test:
  10. trigger:
  11. if {test} is not set:
  12. send "&aStarted Testing!"
  13. set {test} to true
  14. stop
  15. if {test} is true:
  16. send "&aStopped Testing!"
  17. delete {test}
  18.  
  19. on rightclick:
  20. if player is holding redstone named "&cBandage" with lore "&7Right-click to use!":
  21. if {bndg.%player%} is not set:
  22. set {bndg.%player%} to true
  23. set action bar of player to "&cBandage&7: &f5s"
  24. wait 1 second
  25. {bndg.%player%} is true
  26. set action bar of player to "&cBandage&7: &f4s"
  27. wait 1 second
  28. {bndg.%player%} is true
  29. set action bar of player to "&cBandage&7: &f3s"
  30. wait 1 second
  31. {bndg.%player%} is true
  32. set action bar of player to "&cBandage&7: &f2s"
  33. wait 1 second
  34. {bndg.%player%} is true
  35. set action bar of player to "&cBandage&7: &f1s"
  36. wait 1 second
  37. {bndg.%player%} is true
  38. set action bar of player to ""
  39. apply potion of regeneration of tier 2 to player for 1 second
  40. delete {bndg.%player%}
  41. if {bndg.%player%} is true:
  42. send "&cAlready using a bandage!"
  43. stop
  44.  
  45. on any movement:
  46. if player is moving:
  47. if {bndg.%player%} is true:
  48. delete {bndg.%player%}
  49. set action bar of player to "&cBandage&7: &fYou moved, canceled!"
Add Comment
Please, Sign In to add comment