Advertisement
Jt1010

人狼ゲーム(自分)

Sep 6th, 2019
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. on death of player:
  2. command "/scoreboard teams leave [game] %victim%"
  3. command "/clear %victim%"
  4. set player's gamemode to spectator
  5. if {player} is 0:
  6. broadcast "&2&l人狼の勝ち!!"
  7. command "/check"
  8. command "/tp @a[team=!ht] 255 4 -2064"
  9. set player's gamemode to adventure
  10. set {player} to 0
  11. delete {MURABITO::*}
  12. delete {JINROU::*}
  13. delete {KYOUHAN::*}
  14. stop
  15. if victim is {JINROU::*}:
  16. command "/tp @a[team=!ht] 255 4 -2064"
  17. broadcast "&2&l市民の勝ち!!"
  18. command "/check"
  19. command "/tp @a[team=!ht] 255 4 -2064"
  20. set player's gamemode to adventure
  21. set {player} to 0
  22. delete {MURABITO::*}
  23. delete {JINROU}
  24. delete {KYOUHAN}
  25. stop
  26. command /jinrou:
  27. permission:admin
  28. permission message:&4&l運営じゃないのにスタートできるわけないでしょ!
  29. trigger:
  30. command "/scoreboard teams join [game] @a[team=!ht]"
  31. loop all players:
  32. add 1 to {player}
  33. remove {houti} + 1 from {player}
  34. broadcast "&4&l役職振り分け中..."
  35. add all players to {MURABITO::*}
  36. set {JINROU::*} to random player out of {MURABITO::*}
  37. remove {JINROU::*} from {MURABITO::*}
  38. set {KYOUHAN::*} to random player out of {MURABITO::*}
  39. remove {KYOUHAN::*} from {MURABITO::*}
  40. wait 5 seconds
  41. broadcast "&3&l振り分けが完了しました"
  42. wait 3 seconds
  43. broadcast "&3&l開始します..."
  44. wait 3 seconds
  45. command "/tp @a[type=!ht] 11 4 -1946"
  46. broadcast "&6&l5"
  47. wait 2 seconds
  48. broadcast "&5&l4"
  49. wait 2 seconds
  50. broadcast "&4&l3"
  51. wait 2 seconds
  52. broadcast "&3&l2"
  53. wait 2 seconds
  54. broadcast "&2&l1"
  55. wait 2 seconds
  56. broadcast "&1&lStart"
  57. command "/give @a[team=!ht] minecraft:stick"
  58. command "/give @a[team=!ht] minecraft:cooked_beef"
  59. while true:
  60. command "/setblock 4 4 4 minecraft:redstone_block"
  61. wait 1 tick
  62. command "/setblock 4 4 4 minecraft:stone"
  63. command "/time set 15000"
  64. wait 120 seconds
  65. command "/setblock 6 4 6 minecraft:redstone_block"
  66. wait 1 tick
  67. command "/setblock 6 4 6 minecraft:redstone_block"
  68. command "/time set 6000"
  69. wait 120 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement