Aller au contenu

Kit enchant + menu gui


Messages recommandés

Posté(e)

Titre du sujet: kit avec enchantement + menu gui

version de minecraft: 1.9 et de skript: 2.2

Bonjours, j'aimerai que dans le code que dans le kit VIP l'armure sois enchant protection 3 et l'épée enchant sharpness 2 et pour le menu gui j'aimerai qu'il se ferme pas. En gros quand le menu s'ouvre si le joueur le ferme il se re ouvre jusqu'a que la personne prend un kit !

J'espere m'avoir bien expliquer merci ! :D

 

command /ffaguerrier:
   trigger:
       clear player's inventory
       equip player with iron helmet
       equip player with iron chestplate
       equip player with iron leggings
       equip player with iron boots
       set slot 0 of player to diamond sword
       set slot 1 of player to 64 oak wood planks
       set slot 7 of player to 32 steak
       set slot 8 of player to golden apple
       send player title "&3Nyo&fFFA" with subtitle "&eBonne chance !" for 3 seconds

command /ffaarchet:
   trigger:
       clear player's inventory
       equip player with iron helmet
       equip player with iron chestplate
       equip player with iron leggings
       equip player with iron boots
       set slot 0 of player to diamond sword
       set slot 1 of player to bow
       set slot 2 of player to Fishing Rod
       set slot 3 of player to 64 oak wood planks
       set slot 8 of player to 32 steak
       set slot 9 of player to 32 arrow
       send player title "&3Nyo&fFFA" with subtitle "&eBonne chance !" for 3 seconds

command /ffavip:
   permission: ffakit.vip
   permission message: &3Nyo&fFFA &6» &7Kit reserver au VIP
   trigger:
       clear player's inventory
       equip player with all leather armour
       loop 10 times:
           dye player's helmet yellow
           dye player's chestplate yellow
           dye player's leggings yellow
           dye player's boots yellow
       set slot 0 of player to diamond sword
       set slot 1 of player to bow
       send player title "&3Nyo&fFFA" with subtitle "&eBonne chance !" for 3 seconds

command /ffayoutuber:
   permission: ffakit.youtuber
   permission message: &3Nyo&fFFA &6» &7Kit reserver au Youtuber
   trigger:
       clear player's inventory
       equip player with all leather armour
       loop 10 times:
           dye player's helmet orange
           dye player's chestplate orange
           dye player's leggings orange
           dye player's boots orange
       set slot 0 of player to diamond sword
       set slot 1 of player to bow
       send player title "&3Nyo&fFFA" with subtitle "&eBonne chance !" for 3 seconds

command /ffakitm:
   trigger:
       wait 3 ticks
       open chest with 1 rows named "&6&l➽ &3Nyo&fFFA" to player
       wait 3 ticks
       format slot 0 of player with Gray Stained Glass named " " to be unstealable
       format slot 1 of player with iron sword named "&3Kit Guerrier" with lore "&7Ce kit contients:||&6» &7Armure en fer||&6» &7Epée en diamand||&6» &764 Planches de chêne||&6» &732 Steaks||&6» &71 Pomme dorée|| ||&aClic pour prendre le kit !" to close then run [make player execute command "/ffaguerrier"]
       format slot 2 of player with Gray Stained Glass named " " to be unstealable
       format slot 3 of player with bow named "&3Kit Archet" with lore "&7Ce kit contients:||&6» &7Armure en fer||&6» &7Epée en fer||&6» &7Arc et 32 Flèches||&6» &7Canne à pêche ||&6» &764 Planches de chêne||&6» &732 Steaks|| ||&aClic pour prendre le kit !" to close then run [make player execute command "/ffaarchet"]
       format slot 4 of player with Gray Stained Glass named " " to be unstealable
       format slot 5 of player with gold ingot named "&eKit VIP" with lore "&cKit reserver au VIP||&7Ce kit contients:||&6» &7Armure en cuir jaune||&6» &7Epée en fer||&6» &71 EnderPearl||&6» &764 Planches de chêne||&6» &732 Steaks||&6» &71 Pomme dorée|| ||&aClic pour prendre le kit !" to close then run [make player execute command "/ffavip"]
       format slot 6 of player with Gray Stained Glass named " " to be unstealable
       format slot 7 of player with orange dye named "&6Kit Youtuber" with lore "&cKit reserver au Youtuber||&7Ce kit contients:||&6» &7Armure en fer||&6» &7Epée en fer|| ||&aClic pour prendre le kit !" to close then run [make player execute command "/ffayoutuber"]
       format slot 8 of player with Gray Stained Glass named " " to be unstealable
       format slot 22 of player with 166 named "&cQuitter le FFA" to close then run [make player execute command "/lobby"]

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.