Advertisement
TE1TO9_

Untitled

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