Advertisement
kunihiko_sato

Untitled

Dec 22nd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. on right click holding a ender pearl:
  2. name of held item contains "§9§lフワ玉"
  3. cancel event
  4. if {%player%.cooldown} is not set:
  5. execute console command "ht %player%"
  6. else:
  7. send "&cフワ玉を使うには 60 秒間待たなければいけません!!"
  8.  
  9. on left click holding a ender pearl:
  10. name of held item contains "§9§lフワ玉"
  11. cancel event
  12.  
  13. command /ht <player>:
  14. executable by: console
  15. trigger:
  16. open chest with 1 row named "&9フワ玉メニュー" to arg-1
  17. wait a tick
  18. format slot 2 of arg-1 with ender pearl named "&21階和室" with lore "&71階の和室に行きます。" to close then run [execute console command "wasitu %arg 1%"]
  19. 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%"]
  20.  
  21. command /wasitu <player>:
  22. executable by: console
  23. trigger:
  24. if {%arg 1%.cooldown} is not set:
  25. execute console command "tp %arg 1% 4.5 76.0 129.5"
  26. send "&bフワ玉を使った!" to arg-1
  27. set {%arg 1%.cooldown} to 1
  28. wait 60 seconds
  29. send "&bフワ玉が使用できるようになりました!" to arg-1
  30. delete {%arg 1%.cooldown}
  31. else:
  32. send "&cコマンドを実行中にエラーが生じました。"
  33.  
  34. command /pianobeya <player>:
  35. executable by: console
  36. trigger:
  37. if {%arg 1%.cooldown} is not set:
  38. execute console command "tp %arg 1% 10.5 88.0 156.5"
  39. send "&bフワ玉を使った!" to arg-1
  40. set {%arg 1%.cooldown} to 1
  41. wait 60 seconds
  42. send "&bフワ玉が使用できるようになりました!" to arg-1
  43. delete {%arg 1%.cooldown}
  44. else:
  45. send "&cコマンドを実行中にエラーが生じました。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement