Advertisement
nunonuno_riku

Untitled

Jul 21st, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. on script load:
  2. register new shaped recipe for nameditemstack from "leather;<bold><magenta>Parachute;<gold>Right-Click With This In Mid-Air To Prevent Fall Damage." using feather, feather, feather, string, air, string, leather, leather, leather
  3.  
  4. on right click with leather:
  5. "%lore of player's tool%" contains "<gold>Right-Click With This In Mid-Air To Prevent Fall Damage.":
  6. if the block below the player is air:
  7. the player is not riding a chicken:
  8. remove 1 of the tool from the player
  9. spawn a chicken at the player's location
  10. set the spawned chicken's display name to "パラシュート"
  11. make the spawned chicken ride the player
  12.  
  13. spawn a chicken at the player's location
  14. set the spawned chicken's display name to "パラシュート"
  15. make the player ride the spawned chicken
  16. set the spawned chicken's max health to 0
  17.  
  18. on any movement:
  19. block below player is not air:
  20. player is riding a chicken:
  21. loop chickens in radius 10 around player:
  22. if display name of loop-chicken contains "パラシュート":
  23. kill loop-chicken
  24.  
  25.  
  26. on death of chicken:
  27. if display name of event-chicken is "パラシュート":
  28. delete drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement