SHARE
TWEET

Start sistem

Jt1010 Jul 16th, 2019 (edited) 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on death of player:
  2.     execute console command "/scoreboard teams leave [game] %victim%"
  3.     execute console command "/clear %victim%"
  4.     set victim's gamemode to spectator
  5.     remove 1 from {player.left}
  6.     remove victim from {players::*}
  7.     wait 2 tick
  8.     if {player.left} is 1:
  9.         broadcast "&4&lgameEnd"
  10.         broadcast "&6&l%{players::*}%の優勝!"
  11.         execute console command "/gamemode 2 @a"
  12.         execute console command "/clear @a"
  13.         delete {player.left}
  14.         delete {players::*}
  15.         set player's gamemode to adventure
  16.         command "/tp @a[team=!ht] 718 4 -14"
  17. command /bowpvpstart:
  18.     permission:admin.skript
  19.     permission message:&a運営じゃないのにスタート出来る訳無いでしょ!
  20.     usage:/bowgamestart
  21.     aliases:/bs
  22.     trigger:
  23.         command "/scoreboard teams join [game] @a[team=!ht]"
  24.         loop all players:
  25.             if {now.loop-%player%} is not set:
  26.                 add 1 to {player.left}
  27.                 add loop-player to {players::*}
  28.                 teleport loop-player to location (717, 4, 22)
  29.         command "/effect @a[team=!ht] minecraft:invisibility 6 10 true"
  30.         wait 1 Seconds
  31.         broadcast "&6&l5"
  32.         wait 1 Seconds
  33.         broadcast "&6&l4"
  34.         wait 1 Seconds
  35.         broadcast "&6&l3"
  36.         wait 1 Seconds
  37.         broadcast "&6&l2"
  38.         wait 1 Seconds
  39.         broadcast "&6&l1"
  40.         wait 1 Seconds
  41.         broadcast "&4&lgamestart"
  42.         command "/setblock 713 4 -25 minecraft:redstone_block"
  43.         wait 1 tick
  44.         command "/setblock 713 4 -25 minecraft:stone"
  45.         command "/gamemode 2 @a"
  46.         loop all players:
  47.             if {now.loop-%player%} is not set:
  48.                 add 1 to {player.left}
  49.                 add loop-player to {players::*}
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