Advertisement
genya

Untitled

Sep 1st, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. on right click on a sign:
  2. line 1 of the clicked block is "&9==&2CheckPoint&9=="
  3. line 2 of the clicked block is "%region at player%"
  4. line 3 of the clicked block is "&8player"
  5. line 4 of the clicked block is "&9==&4RightClick&9==":
  6. player is on ground
  7. set {%region at player%.%player%.cp} to location of player
  8. message "&aチェックポイントを設定しました"
  9. play sound "BLOCK_NOTE_BASS" to player with volume 1 and pitch 10
  10. command /cp <text>:
  11. trigger:
  12. teleport player to {%arg%.%player%.cp}
  13.  
  14. on sign change:
  15. line 1 is "cp"
  16. set line 4 to "&9==&4RightClick&9=="
  17. set line 1 to "&9==&2CheckPoint&9=="
  18. set line 3 to "&8player"
  19. set line 2 to "%region at player%"
  20.  
  21. on rightclick with fire charge:
  22. player's gamemode is adventure
  23. teleport player to {%region at player%.%player%.cp}
  24.  
  25. command /item:
  26. trigger:
  27. if player do not have fire charge named "&r&aチェックポイントへ":
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement