Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sneak toggle:
- if {fly.%player%} = 0:
- if {%player%.material} = 0:
- message "&4燃料が足りません"
- set {fly.%player%} to 1
- else:
- push player upwards at speed 0.9
- push player horizontally forwards at speed 1.2
- add -1 to {%player%.material}
- message "&a燃料残量 %{%player%.material}%"
- set {fly.%player%} to 1
- else:
- set {fly.%player%} to 0
- on rightclick holding a iron ingot:
- add 1 to {%player%.material}
- remove 1 iron ingot from the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement