Advertisement
genya

Untitled

Aug 4th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. on right click on sign:
  2. line 1 of clicked block is "&7-=-=-=-=-=-=-=-=-=-=-"
  3. line 2 of clicked block is "&2checkPoint"
  4. line 3 of clicked block is "&4RightClick"
  5. line 4 of clicked block is "&7-=-=-=-=-=-=-=-=-=-=-"
  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%.%world%} 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空中でチェックポイントを設定することはできません!"
  19. on sign change:
  20. line 1 is "CP"
  21. set line 2 to "&2CheckPoint"
  22. set line 3 to "&4RightClick"
  23. set line 4 to "&7-=-=-=-=-=-=-=-=-=-=-"
  24. set line 1 to "&7-=-=-=-=-=-=-=-=-=-=-"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement