Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

KOW

a guest Nov 17th, 2018 76 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. options:
  2.     kow: &3&l[&9&lKnockBackofWin&3&l]
  3.  
  4. on quit:
  5.     if {kow.%player%} is true:
  6.         remove 1 from {memebrs}
  7.         delete {kow.%player%}
  8.  
  9. command /knockbackofwin [<text>]:
  10.     aliases: /kow
  11.     trigger:
  12.         if arg is not set:
  13.             message "{@kow} &c項目を設定していません。"
  14.         else if arg is "join":
  15.             if {kow.%player%} is not set:
  16.                 if {members} is 0:
  17.                     message "{@kow} &eKnockBackofWinに参加しました。"
  18.                     set {kow.%player%} to true
  19.                     add 1 to {members}
  20.                     set {member1} to player
  21.                     stop
  22.                 else if {members} is 1:
  23.                     message "{@kow} &eKnockBackofWinに参加しました。"
  24.                     set {kow.%player%} to true
  25.                     add 1 to {members}
  26.                     set {member2} to player
  27.                     execute console command "/tp %{member1}% 164 17 -723"
  28.                     execute console command "/tp %{member1}% 164 17 -729"
  29.                     message "{@kow} &a開始まで 3....."
  30.                     wait 1 seconds
  31.                     message "{@kow} &a開始まで 2....."
  32.                     wait 1 seconds
  33.                     message "{@kow} &a開始まで 1....."
  34.                     wait 1 seconds
  35.                     message "{@kow} &a開始!!"
  36.                     execute console command "/setblock 164 16 -723 air"
  37.                     execute console command "/setblock 164 16 -729 air"
  38.                     wait 1 seconds
  39.                     execute console command "/setblock 164 16 -723 glass"
  40.                     execute console command "/setblock 164 16 -729 glass"
  41.                     stop
  42.                 else if {members} is 2:
  43.                     message "{@kow} &c満員です。"  
  44.             else:
  45.                 message "{@kow} &c既に参加しています。"
  46.         else if arg is "reset":
  47.             message "{@kow} &aすべての設定をデフォルトに設定しました。"
  48.             delete {kow.%player%}
  49.         else if arg is "leave":
  50.             if {kow.%player%} is true:
  51.                 message "{@kow} &eKnockBackofWinを退出しました"
  52.                 set {kow.%player%} to 0
  53.                 remove 1 from {members}
  54.                 stop
  55.             else if {kow.%player%} is not set:
  56.                 message "{@kow} &c既に退出しています"
  57.                 stop
  58.  
  59. command /kowdebug:
  60.     permission: skript.owner
  61.     trigger:
  62.         set {members} to 0
  63.  
  64. on death:
  65.     if {kow.%victim%} is true:
  66.         if {member1} = victim:
  67.             set {kowW} to {member2}
  68.         if {member2} = victim:
  69.             set {kowW} to {member1}
  70.         broadcast "{@kow}&b勝者が決まりました!"
  71.         wait 1 second
  72.         broadcast "{@kow}&b勝者は %{kowW}% さんです!"
  73.         wait 0.5 second
  74.         broadcast "{@kow}&bおめでとうございます!"
  75.         execute console command "/tp %{member1}% 96 10 -622"
  76.         execute console command "/tp %{member2}% 96 10 -622"
  77.         delete {kow.%player%}
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