Advertisement
TE1TO9_

Untitled

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