Advertisement
daipon0512

Untitled

Mar 9th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. command /kits [<text>]:
  2.     trigger:
  3.         if arg-1 is not set:
  4.             wait 1 ticks
  5.             open chest with 1 row named "職業の選択" to player
  6.             wait 1 ticks
  7.             format slot 2 of player with wood sword named "剣士" to close then run [execute player command "/kits kisi"]
  8.             format slot 3 of player with obsidian named "タンク" to close then run [execute player command "/kits tanku"]
  9.             format slot 4 of player with bow named "弓兵" to close then run [execute player command "/kits yumihei"]
  10.             format slot 5 of player with flint and steel named "パイロ" to close then run [execute player command "/kits pairo"]
  11.         if player doesn't have permission "ks.ansatusya":
  12.             format slot 6 of player with red stained glass pane named "暗殺者" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  13.         if player has permission "kits.ansatusya":
  14.             format slot 6 of player with feather named "暗殺者" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ansatusya"]
  15.         if arg-1 is "kisi":
  16.             make console execute command "/effect %player% clear"
  17.             clear player's inventory
  18.             set slot 0 of player to iron sword
  19.             set slot 1 of player to 16 bread
  20.             equip player with chainmail chestplate
  21.             equip player with chainmail boots
  22.             message "{@prefix} あなたは剣士を選択しました!"
  23.             teleport player to {kitpvp.spawn}
  24.             stop
  25.         if arg-1 is "tanku":
  26.             make console execute command "/effect %player% clear"
  27.             clear player's inventory
  28.             set slot 0 of player to wood sword
  29.             set slot 1 of player to 16 bread
  30.             equip player with iron chestplate
  31.             equip player with iron leggings
  32.             message "{@prefix} あなたはタンクを選択しました!"
  33.             teleport player to {kitpvp.spawn}
  34.             stop
  35.         if arg-1 is "yumihei":
  36.             make console execute command "/effect %player% clear"
  37.             clear player's inventory
  38.             set slot 0 of player to bow
  39.             set slot 1 of player to 16 bread
  40.             set slot 2 of player to 64 arrows
  41.             equip player with leather helmet
  42.             equip player with chainmail chestplate
  43.             message "{@prefix} あなたは弓兵を選択しました!"
  44.             teleport player to {kitpvp.spawn}
  45.             stop
  46.         if arg-1 is "pairo":
  47.             make console execute command "/effect %player% clear"
  48.             clear player's inventory
  49.             set slot 0 of player to stone sword
  50.             set slot 1 of player to blaze rod of fire aspect 1
  51.             set slot 2 of player to 16 bread
  52.             equip player with leather chestplate
  53.             equip player with iron leggings
  54.             message "{@prefix} あなたはパイロを選択しました!"
  55.             teleport player to {kitpvp.spawn}
  56.             stop
  57.         if arg-1 is "ansatusya":
  58.             if player has permission "ks.ansatusya":
  59.                 make console execute command "/effect %player% clear"
  60.                 clear player's inventory
  61.                 set slot 0 of player to stone sword
  62.                 set slot 1 of player to 1 feather named "&aダッシュ"
  63.                 set slot 2 of player to 16 bread
  64.                 equip player with leather chestplate
  65.                 equip player with leather leggings
  66.                 message "{@prefix} あなたは暗殺者を選択しました!"
  67.                 teleport player to {kitpvp.spawn}
  68.                 stop
  69. on right click holding feather:
  70.     name of held item contains "&aダッシュ"
  71.     push the player forwards at speed 1.5
  72.     remove 1 feather from player's inventory
  73. on right click holding chest:
  74.     name of held item contains "職業を選ぶ"
  75.     make player execute command "/kits"
  76. on right click holding emerald:
  77.     name of held item contains "お店"
  78.     make player execute command "/store"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement