Re-Bonjour (oui c'est encore moi.. x)) quelqu'un pourrait il refaire exactement le même skript mais en inversent les clicks svp ?
on rightclick on a player:
if clicked player has a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" in his inventory:
player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver"
push clicked player upward at speed 1.5
show 15 "lava" particles at clicked player for player offset by 1.5, 1.5, 1.5
send "&aTu as été propulsé par %player%" to clicked player
send "&aTu as propulsé %clicked player%" to player
stop
else if clicked player has a gray dye named "Booster désactivé" with lore "&aClic droit pour activer" in his inventory:
player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver"
send "&4Ce joueur a desactive le booster" to player
stop
else if player is holding a gray dye named "Booster désactivé" with lore "&aClic droit pour activer":
send "&4Ton booster n'est pas activé" to player
stop
on leftclick:
if player is holding a light green dye of knockback 4:
player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver"
remove all light green dye from the player
wait 1 tick
set slot 0 of player to gray dye named "Booster désactivé" with lore "&aClic droit pour activer"
send "&aTu as désactivé ton booster" to player
stop
if player is holding a gray dye:
player is holding a gray dye named "Booster désactivé" with lore "&aClic droit pour activer"
remove all gray dye from the player
send "&aTu as activé ton booster" to player
wait 1 tick
set slot 0 of player to light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver"
stop
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
_ROBINROC_
Re-Bonjour (oui c'est encore moi.. x)) quelqu'un pourrait il refaire exactement le même skript mais en inversent les clicks svp ?
on rightclick on a player: if clicked player has a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" in his inventory: player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" push clicked player upward at speed 1.5 show 15 "lava" particles at clicked player for player offset by 1.5, 1.5, 1.5 send "&aTu as été propulsé par %player%" to clicked player send "&aTu as propulsé %clicked player%" to player stop else if clicked player has a gray dye named "Booster désactivé" with lore "&aClic droit pour activer" in his inventory: player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" send "&4Ce joueur a desactive le booster" to player stop else if player is holding a gray dye named "Booster désactivé" with lore "&aClic droit pour activer": send "&4Ton booster n'est pas activé" to player stop on leftclick: if player is holding a light green dye of knockback 4: player is holding a light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" remove all light green dye from the player wait 1 tick set slot 0 of player to gray dye named "Booster désactivé" with lore "&aClic droit pour activer" send "&aTu as désactivé ton booster" to player stop if player is holding a gray dye: player is holding a gray dye named "Booster désactivé" with lore "&aClic droit pour activer" remove all gray dye from the player send "&aTu as activé ton booster" to player wait 1 tick set slot 0 of player to light green dye of knockback 4 named "&aBooster" with lore "&cClic droit pour désactiver" stop10 réponses à cette question
Messages recommandés