Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on script load:
- 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
- on right click with leather:
- "%lore of player's tool%" contains "<gold>Right-Click With This In Mid-Air To Prevent Fall Damage.":
- if the block below the player is air:
- the player is not riding a chicken:
- remove 1 of the tool from the player
- spawn a chicken at the player's location
- set the spawned chicken's display name to "パラシュート"
- make the spawned chicken ride the player
- spawn a chicken at the player's location
- set the spawned chicken's display name to "パラシュート"
- make the player ride the spawned chicken
- set the spawned chicken's max health to 0
- on any movement:
- block below player is not air:
- player is riding a chicken:
- loop chickens in radius 10 around player:
- if display name of loop-chicken contains "パラシュート":
- kill loop-chicken
- on death of chicken:
- if display name of event-chicken is "パラシュート":
- delete drops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement