Weedistone Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 (modifié) Version de Minecraft : 1.8 Version de Skript : 2.X.X Type du skript : skript hammer Description du script : Bonjours, jai un probléme avec mon skript hammer la fortune ne veut pas marcher command /hammer [<text>] [<player>]: permission: sk.WestMc trigger: if arg 1 is "Ancien": give 1 diamond pickaxe of efficiency 70 and unbreaking 10 and fortune 3 named "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]" with lore "&7&m---------&f&m---------&7&m---------||&e✯✯✯&7✯✯||||&7Cette pioche vous permettra||&7de miner les blocs en 3x3 !||||&2✔ &aObjet incassable.||&2❤ &aNe se perd pas à la mort.||&7&m---------&f&m---------&7&m---------" to arg 2 on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a stone: set loop-block to air drop a cobblestone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a diamond ore: set loop-block to air drop a diamond at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a gold ore: set loop-block to air drop a gold ore at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a iron ore: set loop-block to air drop a iron ore at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a coal ore: set loop-block to air drop a coal at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a redstone ore: set loop-block to air drop a redstone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a lapis ore: set loop-block to air drop a lapis at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a emerald ore: set loop-block to air drop a emerald at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a obsidian: set loop-block to air drop a obsidian at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a iron block: set loop-block to air drop a iron block at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a end stone: set loop-block to air drop a end stone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a stone brick: set loop-block to air drop a stone brick at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a cobblestone: set loop-block to air drop a cobblestone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a 116: set loop-block to air drop a 116 at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a ender chest: set loop-block to air drop a ender chest at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a anvil: set loop-block to air drop a anvil at location of player Modifié le 12 mai 2023 par Weedistone
Yghore Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 Bonjour, Je t'invite à mettre ton code entre balise CODE Comme ceci
Yghore Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 Tu selectionnes ton code et tu cliques sur "Code" (symbole : </> en haut de l'éditeur de texte)
mhugg Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 Ouloulou, ça ne répond pas vraiment à ta question mais maybe une manière beaucoup + opti pour ton code : - au lieu de créer un on break pour chaque block, tu peux faire set loop-block to air drop cobblestone if loop-block is stone drop diamond if loop-block is diamond ore etc
LOUDO Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 Il y a 7 heures, Weedistone a dit : Version de Minecraft : 1.8 Version de Skript : 2.X.X Type du skript : skript hammer Description du script : Bonjours, jai un probléme avec mon skript hammer la fortune ne veut pas marcher command /hammer [<text>] [<player>]: permission: sk.WestMc trigger: if arg 1 is "Ancien": give 1 diamond pickaxe of efficiency 70 and unbreaking 10 and fortune 3 named "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]" with lore "&7&m---------&f&m---------&7&m---------||&e✯✯✯&7✯✯||||&7Cette pioche vous permettra||&7de miner les blocs en 3x3 !||||&2✔ &aObjet incassable.||&2❤ &aNe se perd pas à la mort.||&7&m---------&f&m---------&7&m---------" to arg 2 on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a stone: set loop-block to air drop a cobblestone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a diamond ore: set loop-block to air drop a diamond at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a gold ore: set loop-block to air drop a gold ore at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a iron ore: set loop-block to air drop a iron ore at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a coal ore: set loop-block to air drop a coal at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a redstone ore: set loop-block to air drop a redstone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a lapis ore: set loop-block to air drop a lapis at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a emerald ore: set loop-block to air drop a emerald at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a obsidian: set loop-block to air drop a obsidian at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a iron block: set loop-block to air drop a iron block at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a end stone: set loop-block to air drop a end stone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a stone brick: set loop-block to air drop a stone brick at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a cobblestone: set loop-block to air drop a cobblestone at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a 116: set loop-block to air drop a 116 at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a ender chest: set loop-block to air drop a ender chest at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: if loop-block is a anvil: set loop-block to air drop a anvil at location of player on break: if tool is a diamond pickaxe: if name of tool is "&a&k&l[ &2&lMarteau &a&lAncien &a&k&l]": loop blocks in radius 1.8: break loop-value using player's tool Salut ! Je te conseille grandement d'utiliser ceci pour ton skript que la grande liste que tu as fait. Pour ce qui est du problème, je n'ai pas trouvé de solution, désolé.
Weedistone Posté(e) le 12 mai 2023 Auteur Posté(e) le 12 mai 2023 il ma détecter une erreur sur la dernier ligne @LOUDO
LOUDO Posté(e) le 12 mai 2023 Posté(e) le 12 mai 2023 Il y a 2 heures, Weedistone a dit : il ma détecter une erreur sur la dernier ligne @LOUDO Tu utilises quelle version de Skript ?
Yghore Posté(e) le 10 juin 2023 Posté(e) le 10 juin 2023 Le sujet n'a pas reçu de réponse pouvant le résoudre. Il a donc été verrouillé. Cordialement, l'équipe.
Messages recommandés