Advertisement
genya

Untitled

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