Advertisement
genya

Untitled

Jun 29th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. on right click on sign:
  2. line 1 of clicked block is "*&7----------&0*"
  3. line 2 of clicked block is "-&1CheckPoint&0-"
  4. line 3 of clicked block is "-&4RightClick&0-"
  5. line 4 of clicked block is "*&7----------&0*"
  6. if player is on ground:
  7. set {_cooldown} to difference between {cp.%player%.lastused} and now
  8. if {_cooldown} is less than 1 seconds:
  9. send "&c1秒以上開けて設定してください"
  10. stop
  11. set {checkpoint.%player%} to location of player
  12. set {cp.%player%.lastused} to now
  13. send " &2&l<&f&lCP&2&l> &a>&2> &aチェックポイントを設定しました"
  14. execute console command "playsound block.note.pling master %player% ~ ~ ~ 1 1 1"
  15. wait 4 tick
  16. execute console command "playsound block.note.pling master %player% ~ ~ ~ 1 2 1"
  17. else:
  18. send "&c空中でチェックポイントを設定することはできません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement