-
-
Save niwaniwa/1ec822f0dc11da9edb99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match.on('objective', function(event){ | |
var team = event.getObjective().getOwner(); | |
var players = match.getPlayers(); | |
for (var i = 0; i < players.length; i++) { | |
players[i].sendMessage('`a'+team.getName()+'が相手のモニュメントを削った'); | |
players[i].playSound(ANVIL_BREAK,1,1); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment