Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click holding a ender pearl:
- name of held item contains "§9§lフワ玉"
- cancel event
- if {%player%.cooldown} is not set:
- execute console command "ht %player%"
- else:
- send "&cフワ玉を使うには 60 秒間待たなければいけません!!"
- on left click holding a ender pearl:
- name of held item contains "§9§lフワ玉"
- cancel event
- command /ht <player>:
- executable by: console
- trigger:
- open chest with 1 row named "&9フワ玉メニュー" to arg-1
- wait a tick
- format slot 2 of arg-1 with ender pearl named "&21階和室" with lore "&71階の和室に行きます。" to close then run [execute console command "wasitu %arg 1%"]
- format slot 6 of arg-1 with 2 ender pearl named "&83階ピアノ部屋" with lore "&73階のピアノ部屋に行きます。" to close then run [execute console command "pianobeya %arg 1%"]
- command /wasitu <player>:
- executable by: console
- trigger:
- if {%arg 1%.cooldown} is not set:
- execute console command "tp %arg 1% 4.5 76.0 129.5"
- send "&bフワ玉を使った!" to arg-1
- set {%arg 1%.cooldown} to 1
- wait 60 seconds
- send "&bフワ玉が使用できるようになりました!" to arg-1
- delete {%arg 1%.cooldown}
- else:
- send "&cコマンドを実行中にエラーが生じました。"
- command /pianobeya <player>:
- executable by: console
- trigger:
- if {%arg 1%.cooldown} is not set:
- execute console command "tp %arg 1% 10.5 88.0 156.5"
- send "&bフワ玉を使った!" to arg-1
- set {%arg 1%.cooldown} to 1
- wait 60 seconds
- send "&bフワ玉が使用できるようになりました!" to arg-1
- delete {%arg 1%.cooldown}
- else:
- send "&cコマンドを実行中にエラーが生じました。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement