Advertisement
Svely

Untitled

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