Advertisement
TE1TO9_

Untitled

Apr 9th, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.60 KB | None | 0 0
  1. on rightclick:
  2.     block is a sign
  3.     line 2 of clicked block is "checkpoint"
  4.     line 3 of clicked block is "[rightclick]"
  5.     player is on ground
  6.     set {checkpoint.%player1%} to location of player
  7.     message "&6チェックポイントを設定しました!"
  8. if player has permission "skript.admin":
  9.     message "&7Location of player not jump"
  10.  
  11. on leftclick with fire charge:
  12. cancel event
  13. if clicked block is sign:
  14.     stop
  15. if {checkpoint.%player1%} is set:
  16.     teleport player to {checkpoint.%player1%}
  17. else:
  18.     message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement