Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ffa <text>:
- usage: &7/ffa join / leave
- executable by: players
- trigger:
- if arg-1 is "join":
- if {joined.%player%} is "yes":
- send "{@icon} &cTu es déjà en jeu!"
- else:
- open chest with 1 row named "&8Choisis ton kits" to player
- wait 2 ticks
- format slot 1 of player with 1 276 named "&6&lJoueur" to close then run [execute player command "/kitjoueur"]
- on command "kitjoueur":
- send "{@icon} &3Tu viens de rejoindre le FFA!"
- set {joined.%player%} to "yes"
- teleport player to {arene.ffa}
- remove absorption from player
- remove regeneration from player
- heal player
- set gamemode of player to survival
- clear player's inventory
- play "NOTE_PLING" to player at volume 100
- wait 3 tick
- apply speed 2 to player for 9999999 seconds
- set player's helmet to diamond helmet of protection 4
- set player's chestplate to diamond chestplate of protection 4
- set player's leggings to diamond leggings of protection 4
- set player's boots to diamond boots of protection 4
- give 1 diamond sword of sharpness 5 to player
- give 1 bow of punch 2 to player
- give 64 322 to player
- give 1 322:1 to player
- give 16 ender pearl to player
- give 3 373:16421 to player
- give 64 364 to player
- wait 6 tick
- give 64 arrow to player
- give 8 373:16421 to player
- wait 6 tick
- give 8 373:16421 to player
- give 16 ender pearl to player
- wait 6 tick
- give 9 373:16421 to player
Advertisement
Add Comment
Please, Sign In to add comment