SHARE
TWEET

Untitled

taktie0304 Jul 24th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /buycoin [<text>]:
  2.     trigger:
  3.         if arg 1 is "yieayiulaevnfe":
  4.             add 1000 to {coin.%uuid of player%}
  5.         if arg 1 is "byikfweuibvfew":
  6.             add 5000 to {coin.%uuid of player%}
  7.  
  8. command /coin:
  9.     trigger:
  10.         send "&6%{coin.%uuid of player%}%&eコイン"
  11.  
  12. on any movement:
  13.     if {ak47.%uuid of player%} is not set:
  14.         set {ak47.%uuid of player%} to 0
  15.     if {m4a4.%uuid of player%} is not set:
  16.         set {m4a4.%uuid of player%} to 0
  17.     if {awp.%uuid of player%} is not set:
  18.         set {awp.%uuid of player%} to 0
  19.     if {coin.%uuid of player%} is not set:
  20.         set {coin.%uuid of player%} to 0
  21.  
  22. on rightclick on villager:
  23.     cancel event
  24.     open chest with 4 row named "武器購入" to player
  25.     set slot 31 of player's current inventory to nether star named "&e所持金&6%{coin.%uuid of player%}%&eコイン"
  26.     set slot 10 of player's current inventory to gold horse armor named "&a&lAK-47" with lore "&62700コイン必要" and "&c赤チーム専用" and "&7現在%{ak47.%uuid of player%}%個所持" and " " and "&eクリックで10個購入"
  27.     if {ak47use.%uuid of player%} is not set:
  28.         set slot 19 of player's current inventory to grey dye named "&cOFF" with lore "&7武器の数が0個だと、ONにしても意味がありません" and " " and "&eクリックでAK-47の使用をON"
  29.     else:
  30.         set slot 19 of player's current inventory to lime dye named "&aON" with lore "&7武器の数が0個だと、ONにしても意味がありません" and " " and "&eクリックでAK-47の使用をOFF"
  31.     set slot 11 of player's current inventory to gold horse armor named "&a&lM4A4" with lore "&63100コイン必要" and "&9青チーム専用" and "&7現在%{m4a4.%uuid of player%}%個所持" and " " and "&eクリックで10個購入"
  32.     if {m4a4use.%uuid of player%} is not set:
  33.         set slot 20 of player's current inventory to grey dye named "&cOFF" with lore "&7武器の数が0個だと、ONにしても意味がありません" and " " and "&eクリックでM4A4の使用をON"
  34.     else:
  35.         set slot 20 of player's current inventory to lime dye named "&aON" with lore "&7武器の数が0個だと、ONにしても意味がありません" and " " and "&eクリックでM4A4の使用をOFF"
  36.     set slot 12 of player's current inventory to gold horse armor named "&5&lAWP" with lore "&64750コイン必要" and "&7全チーム兼用" and "&7現在%{awp.%uuid of player%}%個所持" and " " and "&eクリックで10個購入"
  37.     if {awpuse.%uuid of player%} is not set:
  38.         set slot 21 of player's current inventory to grey dye named "&cOFF" with lore "&7武器の数が0個だと、OFFにしても意味がありません" and " " and "&eクリックでAWPの使用をON"
  39.     else:
  40.         set slot 21 of player's current inventory to lime dye named "&aON" with lore "&7武器の数が0個だと、ONにしても意味がありません" and " " and "&eクリックでAWPの使用をOFF"
  41.  
  42. on inventory click:
  43.     if name of player's current inventory contains "武器購入":
  44.         cancel event
  45.         if clicked slot is 10:
  46.             if {coin.%uuid of player%} >= 2700:
  47.                 remove 2700 from {coin.%uuid of player%}
  48.                 add 10 to {ak47.%uuid of player%}
  49.                 send "&aAK-47を10個分購入しました" to player
  50.                 make player execute command "/shop"
  51.             else:
  52.                 send "&cコインが足りません" to player
  53.         if clicked slot is 11:
  54.             if {coin.%uuid of player%} >= 3100:
  55.                 remove 3100 from {coin.%uuid of player%}
  56.                 add 10 to {m4a4.%uuid of player%}
  57.                 send "&aM4A4を10個分購入しました" to player
  58.                 make player execute command "/shop"
  59.             else:
  60.                 send "&cコインが足りません" to player
  61.         if clicked slot is 12:
  62.             if {coin.%uuid of player%} >= 4750:
  63.                 remove 4750 from {coin.%uuid of player%}
  64.                 add 10 to {awp.%uuid of player%}
  65.                 send "&aAWPを10個分購入しました" to player
  66.                 make player execute command "/shop"
  67.             else:
  68.                 send "&cコインが足りません" to player
  69.         if clicked slot is 19:
  70.             if {ak47use.%uuid of player%} is not set:
  71.                 set {ak47use.%uuid of player%} to true
  72.             else:
  73.                 delete {ak47use.%uuid of player%}
  74.             make player execute command "/shop"
  75.         if clicked slot is 20:
  76.             if {m4a4use.%uuid of player%} is not set:
  77.                 set {m4a4use.%uuid of player%} to true
  78.             else:
  79.                 delete {m4a4use.%uuid of player%}
  80.             make player execute command "/shop"
  81.         if clicked slot is 21:
  82.             if {awpuse.%uuid of player%} is not set:
  83.                 set {awpuse.%uuid of player%} to true
  84.             else:
  85.                 delete {awpuse.%uuid of player%}
  86.             make player execute command "/shop"
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
 
Top