Advertisement
TE1TO9_

Untitled

Apr 5th, 2019
198
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:
  2.     block is a sign
  3.     line 2 of clicked block is "checkpoint"
  4.     line 3 of clicked block is "[rightclick]"
  5.     set {checkpoint.%player%} to location of player
  6.     message "&6チェックポイントを設定しました!"
  7.   if player has permission "skript.admin":
  8.        message "&7Location of player"
  9.  
  10. on rightclick with fire charge:
  11.    cancel event
  12.    if clicked block is sign:
  13.        stop
  14.    if {checkpoint.%player%} is set:
  15.        teleport player to {checkpoint.%player%}
  16.    else:
  17.        message "&cチェックポイントが設定されていません!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement