Advertisement
Jt1010

Start sistem

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