SHARE
TWEET

Untitled

WoagWoagan Aug 20th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /sign <text>:
  2.     permission: skript.admin
  3.     trigger:
  4.         set {sign.%player%} to arg-1
  5.         send "&aCP看板に表示する文字を &6%{sign.%player%}% &aに設定しました。" to player
  6.  
  7. on rightclick:
  8.     block is a sign
  9.     line 1 of clicked block is "&8[&3CheckPoint&8]"
  10.     line 3 of clicked block is "&7player"
  11.     line 4 of clicked block is "&8[&aRightClick&8]"
  12.     if player is on ground:
  13.         set {cp.%player%.%region at player%} to location of player
  14.         execute console command "/playsound minecraft:block.wood.break master @p"
  15.         send "  &2>>> &aチェックポイントを設定しました。" to player
  16.     else:
  17.         send "  &4>>> &c空中ではチェックポイントを設定できません。" to player
  18.  
  19. on rightclick with blaze rod:
  20.     teleport player to {cp.%player%.%region at player%}
  21.  
  22. on sign change:
  23.     line 1 is "cp"
  24.     set line 2 to "&9%{sign.%player%}%"
  25.     set line 3 to "&7player"
  26.     set line 4 to "&8[&aRightClick&8]"
  27.     set line 1 to "&8[&3CheckPoint&8]"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top