Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick:
- if player is holding 159:4 named "&c色彩設定":
- open chest with 2 rows named "&d色彩設定" to player
- format slot 0 of player with iron bars named "&8&l中学大将" with lore "&c未所持||&aクリックで購入" to close then run [execute player command "/buycolor 12d8nsa9s9ydjea91"]
- if {color.have::1::%uuid of player%} is true:
- format slot 0 of player with black carpet named "&8&l中学大将" with lore "&a所持||&aクリックで選択" to close then run [execute player command "/selectcolor 12d8nsa9s9ydjea91"]
- if {color.select::1::%uuid of player%} is true:
- format slot 0 of player with black carpet of protection 4 named "&8&l中学大将" with lore "&a選択済み" to be unstealable
- format slot 1 of player with iron bars named "&1&l悪友&e&l天使" with lore "&c未所持||&aクリックで購入" to close then run [execute player command "/buycolor 13885bba98sduasd"]
- if {color.have::2::%uuid of player%} is true:
- format slot 1 of player with yellow carpet named "&1&l悪友&e&l天使" with lore "&a所持||&aクリックで選択" to close then run [execute player command "/selectcolor 13885bba98sduasd"]
- if {color.select::2::%uuid of player%} is true:
- format slot 1 of player with yellow carpet of protection 4 named "&1&l悪友&e&l天使" with lore "&a選択済み" to be unstealable
- format slot 2 of player with iron bars named "&6&l天然主婦" with lore "&c未所持||&aクリックで購入" to close then run [execute player command "/buycolor n1u930sahsdsaa"]
- if {color.have::3::%uuid of player%} is true:
- format slot 2 of player with orange carpet named "&6&l天然主婦" with lore "&a所持||&aクリックで選択" to close then run [execute player command "/selectcolor n1u930sahsdsaa"]
- if {color.select::3::%uuid of player%} is true:
- format slot 2 of player with orange carpet of protection 4 named "&6&l天然主婦" with lore "&a選択済み" to be unstealable
- command /buycolor [<text>]:
- trigger:
- if arg-1 is "12d8nsa9s9ydjea91":
- if {color.have::1::%uuid of player%} is true:
- message "&c既に所持しています。"
- stop
- else:
- set {color.have::1::%uuid of player%} to true
- message "&a購入しました。"
- stop
- if arg-1 is "13885bba98sduasd":
- if {color.have::2::%uuid of player%} is true:
- message "&c既に所持しています。"
- stop
- else:
- set {color.have::2::%uuid of player%} to true
- message "&a購入しました。"
- stop
- if arg-1 is "n1u930sahsdsaa":
- if {color.have::3::%uuid of player%} is true:
- message "&c既に所持しています。"
- stop
- else:
- set {color.have::3::%uuid of player%} to true
- message "&a購入しました。"
- stop
- command /selectcolor [<text>]:
- trigger:
- if arg-1 is "12d8nsa9s9ydjea91":
- if {color.have::1::%uuid of player%} is true:
- message "&a選択しました。"
- set {color.select::*} to false
- set {color.select::1::%uuid of player%} to true
- else:
- message "&c所持していません。"
- if arg-1 is "13885bba98sduasd":
- if {color.have::2::%uuid of player%} is true:
- message "&a選択しました。"
- set {color.select::*} to false
- set {color.select::2::%uuid of player%} to true
- else:
- message "&c所持していません。"
- if arg-1 is "n1u930sahsdsaa":
- if {color.have::3::%uuid of player%} is true:
- message "&a選択しました。"
- set {color.select::*} to false
- set {color.select::3::%uuid of player%} to true
- else:
- message "&c所持していません。"
- command /getcoloryet:
- trigger:
- give player 159:4 named "&c色彩設定"
- on join:
- if {firstjoin.color::%uuid of player%} is true:
- stop
- else:
- set {color.select::default::%uuid of player%} to true
- set {color.have::default::%uuid of player%} to true
- on chat:
- cancel event
- if {color.select::default::%uuid of player%} is true:
- broadcast "&7%player%: &f%message%"
- if {color.select::1::%uuid of player%} is true:
- broadcast "&0&l[&8&l中学大将&0&l]&7%player%: &f%message%"
- if {color.select::2::%uuid of player%} is true:
- broadcast "&e&ka&f &5&l|&1&l悪友&e&l天使&d&l| &a&l&o%player%&b&l: &f%message% &e&ka"
- if {color.select::3::%uuid of player%} is true:
- broadcast "&a&l[&6&l天然主婦&a&l]&7%player%: &f%message%"
Add Comment
Please, Sign In to add comment