Advertisement
TE1TO9_

Untitled

May 6th, 2019
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.46 KB | None | 0 0
  1. on join:
  2.     set {%player%} to "&a村人"
  3. command /start:
  4.     permission: admin
  5.     permission message:Success
  6.     trigger:
  7.         execute command "/yakusyoku"
  8.         execute command "/yakusyoku"
  9.         execute command "/yakusyoku2"
  10. command /yakusyoku:
  11.     trigger:
  12.         loop all players:
  13.             add {yakusyoku::%loop-player%} to "&4人狼"
  14.         set {yakusyoku::%loop-player%} to random element of "&4人狼"
  15.         wait a tick
  16.         set {yakusyoku::%loop-player%} to {j}
  17.         loop all players:
  18.         "{j}" is loop-player
  19.         make loop-player execute command "/j"
  20.         execute command
  21.         remove {yakusyoku::%loop-player%} from "&4人狼"
  22. command /yakusyoku2:
  23.     trigger:
  24.         loop all  players:
  25.             add loop-player to "&c共犯者"
  26.         set {yakusyoku2::%loop-player%} to random element of "&c共犯者"
  27.         wait a tick
  28.         set {yakusyoku2::%loop-player%} to {c}
  29.         loop all players:
  30.             "{c}" is loop-player
  31.             make loop-player execute command "/c"
  32.             execute command
  33.             remove {yakusyoku2::%loop-player%} from "&c共犯者"
  34. command /j:
  35.     trigger:
  36.         execute console command ""
  37. command /m:
  38.     trigger:
  39.         execute console command ""
  40. command /c:
  41.     trigger:
  42.         execute console command ""
  43. on death:
  44.     delete {yakusyoku::%victim%}
  45.     loop {yakusyoku::*}:
  46.         loop-value is "&4人狼"
  47.         add 1 to {_e}
  48.         if {_e} is not set:
  49.             send "&a&l村人側の勝利です"
  50. on death:
  51.     delete {yakusyoku1::%victim%}
  52.     loop {yakusyoku1::*}:
  53.         loop-value is "&a村人"
  54.         add 1 to {_d}
  55.         if {_d} is not set:
  56.             send "&4&l人狼側の勝利です"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement