Je veux faire un kit custom. Le skript me dis qu'il n'y a aucune erreur mais pourtant il ne fonctionne pas :/
Code :
command /edit:
trigger:
if player is in world "spawn":
set gamemode of player to survival
clear inventory of the player
make console execute command "/feed %player%"
equip player with a diamond helmet
equip player with a diamond chestplate
equip player with a diamond leggings
equip player with a diamond boots
set slot 0 of player to a diamond sword of sharpness 2 named ""
give a fishing rod to the slot 1 of player
give a lava bucket to the slot 32 of player
give 64 steak to the slot 3 of player
give 64 arrow to the slot 27 of player
set slot 6 of player to a bow of power 3 named ""
give 64 oak wood planks to the slot 7 of player
give golden apple item to the slot 4 of player
give golden apple item to the slot 4 of player
give golden apple item to the slot 4 of player
give golden apple item to the slot 4 of player
give golden apple item to the slot 4 of player
give golden apple item to the slot 4 of player
give 64 cobblestone to the slot 28 of player
give a water bucket to the slot 8 of player
give a water bucket to the slot 30 of player
give a lava bucket to the slot 2 of player
give a golden apple item named "&6Golden Head" to the slot 5 of player
give a golden apple item named "&6Golden Head" to the slot 5 of player
give a golden apple item named "&6Golden Head" to the slot 5 of player
send "&4&oLes teams sont interdites !"
give player compass named "&6Tracker"
send "&eUne fois votre kit créer, faites /save"
set {save.%player%} to true
else:
cancel event
send "&eVous devez être au spawn pour effectuez cette commande."
command /save:
trigger:
if {save.%player%} is false:
send "&eVous devez d'abbord faire /edit"
else:
set {_count} to 0
loop 36 times:
set {inv.%{_count}%.main.%player%} to slot {_count} of player's inventory
add 1 to {_count}
set {inv.casque.main.%player%} to player's helmet
set {inv.ventre.main.%player%} to player's chestplate
set {inv.jambes.main.%player%} to player's leggings
set {inv.pieds.main.%player%} to player's boots
clear player's inventory
set {save.%player%} to false
set {kitcreer.%player%} to true
send "&aVotre kit custom uhc à bien été créer !"
clear inventory of the player
give a clock named "&7&oWarps" to the slot 0 of player
give a chest named "&bTéléportation au UHC FFA &7(Clique Droit)" to the slot 4 of player
command /1995:
trigger:
loop 36 times:
set slot {_count} of player's inventory to {inv.%player%.%{_count}%.main}
add 1 to {_count}
set the helmet of player to {inv.%player%.helmet.main}
set the chestplate of player to {inv.%player%.chest.main}
set the leggings of player to {inv.%player%.legs.main}
set the boots of player to {inv.%player%.feet.main}
on rightclick with name tag:
if name of player's tool is "&bKit UHC Default":
make player execute command "/4598uhc"
send "&2Kit UHC Default reçu."
else if name of player's tool is "&bKit UHC Custom":
if {kitcreer.%player%} is false:
send "&eVous devez d'abbord créer votre kit !"
cancel event
else:
make player execute command "/1995"
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.
Question
ByNow
Bonjour,
Je veux faire un kit custom. Le skript me dis qu'il n'y a aucune erreur mais pourtant il ne fonctionne pas :/
Code :
Merci beaucoup j'en n'ai vraiment besoin !
11 réponses à cette question
Messages recommandés