Advertisement
TE1TO9_

Untitled

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