Aller au contenu
  • 0

Son a l'ouverture d'un menu


Question

Posté(e)

Bonjour j'ai créer mon menu mais j'aimerais qu'il y ait un son quand on l'ouvre un petit bruitage, comment je fait ?

 

Voici le début de mon menu :

 

command /menu:
trigger:
	wait 2 ticks
	open chest with 3 rows named "&c&lMenu" to player
	wait 1 ticks
	format slot 0 of player with 160:12 named " " to be unstealable
	format slot 1 of player with 160:12 named " " to be unstealable
	format slot 2 of player with 160:12 named " " to be unstealable
	format slot 3 of player with 160:12 named " " to be unstealable
	format slot 4 of player with 160:12 named " " to be unstealable
	format slot 5 of player with 160:12 named " " to be unstealable
	format slot 6 of player with 160:12 named " " to be unstealable
	format slot 7 of player with 160:12 named " " to be unstealable
	format slot 8 of player with 160:12 named " " to be unstealable
	format slot 9 of player with 263 named "&a&lCréatif" with lore "&2Clique ici pour ||&2rejoindre le ||&2créatif" to close then run [make player execute command "/warp Creatif"]
	format slot 10 of player with 175 named "&c&lLobby" with lore "&4Clique ici pour ||&4retourner au ||&4lobby" to close then run [make player execute command "/spawn"]
	format slot 11 of player with 322 named "&b&lPrison" with lore "&3Clique ici pour ||&3visiter la ||&3prison" to close then run [make player execute command "/warp Prison"]
	format slot 12 of player with 160 named " " to be unstealable
	format slot 13 of player with player's skull named "&6Bonjour &c%player% &6!" with lore "&eSur Aventurelax nous sommes le et il est : &7%now%&6. ||&3Bon jeu !" to be unstealable
	format slot 14 of player with 160 named " " to be unstealable
	format slot 15 of player with 341 named "&bDéconnexion" to close then run [make player execute command "/deconnexion"]
	format slot 16 of player with 160 named " " to be unstealable
	format slot 17 of player with 399 named "&dAnnuler" to close
	format slot 18 of player with 160:12 named " " to be unstealable
	format slot 19 of player with 160:12 named " " to be unstealable
	format slot 20 of player with 160:12 named " " to be unstealable
	format slot 21 of player with 160:12 named " " to be unstealable
	format slot 22 of player with 160:12 named " " to be unstealable
	format slot 23 of player with 160:12 named " " to be unstealable
	format slot 24 of player with 160:12 named " " to be unstealable
	format slot 25 of player with 160:12 named " " to be unstealable
	format slot 26 of player with 160:12 named " " to be unstealable

2 réponses à cette question

Messages recommandés

×
×
  • 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.