Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. on sneak toggle:
  2. if {fly.%player%} = 0:
  3. if {%player%.material} = 0:
  4. message "&4燃料が足りません"
  5. set {fly.%player%} to 1
  6. else:
  7. push player upwards at speed 0.9
  8. push player horizontally forwards at speed 1.2
  9. add -1 to {%player%.material}
  10. message "&a燃料残量 %{%player%.material}%"
  11. set {fly.%player%} to 1
  12. else:
  13. set {fly.%player%} to 0
  14. on rightclick holding a iron ingot:
  15. add 1 to {%player%.material}
  16. remove 1 iron ingot from the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement