tsutitire2

Untitled

May 17th, 2020
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. command /pvpcount <int>:
  2. trigger:
  3. if {counted401} is 0:
  4. broadcast "PVP開始までのカウントダウンが開始されます!"
  5. disable pvp
  6. loop all players:
  7. set loop-player's walk speed to 0
  8. set {counting402} to 0
  9. while {counting402} is less than arg 1:
  10. set {counting403} to arg 1 - {counting402}
  11. loop all players:
  12. send title "%{counting403}%" to loop-player
  13. wait 1 second
  14. execute player command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
  15. set {counting402} to {counting402} + 1
  16. enable pvp
  17. loop all players:
  18. set loop-player's walk speed to 0.5
  19. send title "0" to loop-player
  20. set {counting402} to 0
  21. set {counting403} to 0
  22. permission: skript.admin
  23. description: "/pvpcount <waitseconds>"
  24. On jump:
  25. if {counting402} is more than 0:
  26. cancel event
Add Comment
Please, Sign In to add comment