Advertisement
genya

Untitled

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