Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pvpcount <int>:
- trigger:
- if {counted401} is 0:
- broadcast "PVP開始までのカウントダウンが開始されます!"
- disable pvp
- loop all players:
- set loop-player's walk speed to 0
- set {counting402} to 0
- while {counting402} is less than arg 1:
- set {counting403} to arg 1 - {counting402}
- loop all players:
- send title "%{counting403}%" to loop-player
- wait 1 second
- execute player command "/playsound minecraft:entity.experience_orb.pickup ambient %player%"
- set {counting402} to {counting402} + 1
- enable pvp
- loop all players:
- set loop-player's walk speed to 0.5
- send title "0" to loop-player
- set {counting402} to 0
- set {counting403} to 0
- permission: skript.admin
- description: "/pvpcount <waitseconds>"
- On jump:
- if {counting402} is more than 0:
- cancel event
Add Comment
Please, Sign In to add comment