Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on a sign:
- line 1 of the clicked block is "&8= &4CheckPoint &8="
- line 2 of the clicked block is "%region at player%"
- line 3 of the clicked block is "&aGround"
- line 4 of the clicked block is "&8= &6RightClick &8=":
- player is on ground
- set {%region at player%.%player%.cp} to location of player
- message "&9[&eCheckPoint&9]&3 >&b> &a チェックポイントを設定しました。 &7(%region at player%&7)"
- play "BLOCK_NOTE_BASS" to player with volume 1 and pitch 10
- log "%player% clicked checkpoint sign at %location of player% in %world%"
- message "&9[&eCheckPoint&9] 3>&b> &c空中でチェックポイントを設定することはできません!"
- command /cp <text>:
- trigger:
- teleport player to {%arg%.%player%.cp}
- on sign change:
- line 1 is "cp"
- set line 4 to "&8= &6RightClick &8="
- set line 1 to "&8= &4CheckPoint &8="
- set line 3 to "&aGround"
- set line 2 to "%region at player%"
- on rightclick with fire charge:
- player's gamemode is adventure
- teleport player to {%region at player%.%player%.cp}
- command /item:
- trigger:
- if player do not have fire charge named "&r&3CheckPoint":
- give fire charge named "&r&3CheckPoint" to player
- command /set spawn:
- permmision: skript.admin
- trigger:
- set {spawn} to location of player
- message "スポーンをセットしました"
- command /spawn:
- trigger:
- teleport player to {spawn}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement