Aller au contenu

MomoLeFr69

Membre
  • Compteur de contenus

    4
  • Inscription

  • Dernière visite

  • Crédits

    12 [Faire un don]

Réputation sur la communauté

1 Neutre

À propos de MomoLeFr69

  • Rang
    Touriste

Visiteurs récents du profil

Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.

  1. Merci Mec, d'ailleurs je sais pas comment le mettre en résolu, donc si un modo passe, merci
  2. Version de Minecraft : 1.12.2 Version de Skript : 2.4.9 beta Addons utilisés: MundoSK, SKellett, SkQuery, SkFall, Tuske Type du skript : Mini jeu Description du script : Je ne sais pas comment faire pour chekcer si un joueur à des coordonnées précises pour qu'il gagne, la par exemple, le joueur doit aller dans la base de l'adverse command /coo: trigger: set {_x} to x-coordinate of player set {_z} to z-coordinate of player message " %{_x}% %{_z}%" command /dofus [<text>] [<player>] [<player>]: trigger: if arg 1 is not set: message "&6start &c<player> <player> &f-&3 Lancer la partie Dofus" message "&6version &f-&3 Informations sur le script" message "&6config &f-&3 Configurer le Dofus" message "&6setup &f-&3 Definir les valeurs du Dofus" message " &4Script en cours de développement ! " else if arg 1 is "start": if {dofusSetup} is true: if arg 2 is set: if arg 2 is arg 3: message "Vous ne pouvez pas jouer vous même !" else: set {winCheck} to false set {player1} to arg-2 set {player2} to arg-3 make player execute command "tp %arg-2% 187 253 146" make player execute command "tp %arg-3% 187 253 194" send arg-2 and arg-3 title "&9jte dis que cete un test -_-" with subtitle "&7Test" for 5 seconds make player execute command "pfc" set {player1}'s walk speed to 0 set {player2}'s walk speed to 0 set {jumpOff} to true while {winCheck} is false: if {FirstPN} is 0: add 1 to {FirstPN} F_vchest1() else if {FirstPN} >= {SecondPN}: F_vchest1() else if {FirstPN} < {SecondPN}: F_vchest2() while {winCheck} is false: #Code ???? else: message "&7 Fais d'abbord /dofus setup" else if arg 1 is "setup": set {dofusSetup} to true make player execute command "time set day" set {jumpOff} to false else if arg 1 is "version": message "&6 Dofus Créé par MomoLeFr69 &f- &6 Avec l'imagination de Boc3481" message "&3 Version 1.0.0 Beta 1.0.3ab" message " &4 script en cours de développement" command /pfc [<text>]: trigger: open virtual chest with 1 row to {player1} and {player2} format slot 2 of {player1} with paper named "&ePapier" to close then run [make player execute command "/§choix %{player2}%papier"] format slot 5 of {player1} with flint named "&bCaillou" to close then run [make player execute command "/§choix %{player2}% pierre"] format slot 8 of {player1} with shears named "&aCiseau" to close then run [make player execute command "/§choix %{player2}% ciseau"] format slot 3 of {player2} with paper named "&ePapier" to close then run [make player execute command "/§choix %{player1}% papier"] format slot 5 of {player2} with flint named "&bCaillou" to close then run [make player execute command "/§choix %{player1}% pierre"] format slot 8 of {player2} with shears named "&aCiseau" to close then run [make player execute command "/§choix %{player1}% ciseau"] command /§choix <player> <text>: trigger: if arg 2 is "pierre": set {choix.%{player1}%} to "pierre" set {CPFC.%{player1}%} to true if arg 2 is "papier": set {choix.%{player1}%} to "papier" set {CPFC.%{player1}%} to true if arg 2 is "ciseau": set {choix.%{player1}%} to "ciseau" set {CPFC.%{player1}%} to true send "&aEn attente de &c%{player2}% &a!" to {player1} wait 5 ticks open chest with 3 rows named "&6Voir Résultat" to {player1} wait 2 ticks format slot 13 of {player1} with paper named "&6Voir les résulats" to close then run [make {player1} execute command "/§resultOK %{player2}%"] command /§ResultOK <player>: trigger: if {CPFC.%{player2}%} is true: wait 3 ticks open chest with 3 rows named "&6Résultat" to {player1} wait 3 ticks open chest with 3 rows named "&6Résultat" to {player2} wait 2 ticks format slot 9 of {player1} with {player1}'s skull named "&6%{player1}%" to be unstealable format slot 9 of {player2} with {player1}'s skull named "&6%{player1}%" to be unstealable format slot 17 of {player1} with skull of {player2} named "&6%{player2}%" to be unstealable format slot 17 of {player2} with skull of {player2} named "&6%{player2}%" to be unstealable format slot 4 of {player1} with white glass pane named "" to be unstealable format slot 13 of {player1} with white glass pane named "" to be unstealable format slot 22 of {player1} with white glass pane named "" to be unstealable format slot 4 of {player2} with white glass pane named "" to be unstealable format slot 13 of {player2} with white glass pane named "" to be unstealable format slot 22 of {player2} with white glass pane named "" to be unstealable if {choix.%{player1}%} is "pierre": format slot 11 of {player1} with stone named "&3Pierre" to be unstealable format slot 11 of {player2} with stone named "&3Pierre" to be unstealable else if {choix.%{player1}%} is "papier": format slot 11 of {player1} with paper named "&3Papier" to be unstealable format slot 11 of {player2} with paper named "&3Papier" to be unstealable else if {choix.%{player1}%} is "ciseau": format slot 11 of {player1} with shears named "&3Ciseau" to be unstealable format slot 11 of {player2} with shears named "&3Ciseau" to be unstealable if {choix.%{player2}%} is "pierre": format slot 15 of {player1} with stone named "&3Pierre" to be unstealable format slot 15 of {player2} with stone named "&3Pierre" to be unstealable else if {choix.%{player2}%} is "papier": format slot 15 of {player1} with paper named "&3Papier" to be unstealable format slot 15 of {player2} with paper named "&3Papier" to be unstealable else if {choix.%{player2}%} is "ciseau": format slot 15 of {player1} with shears named "&3Ciseau" to be unstealable format slot 15 of {player2} with shears named "&3Ciseau" to be unstealable wait 3 seconds close {player1}'s inventory close {player2}'s inventory if {choix.%{player1}%} is "pierre": if {choix.%{player2}%} is "pierre": send "&4[PFC] &f> &6Egalité !" to {player1} send "&4[PFC] &f> &6Egalité !" to {player2} stop if {choix.%{player2}%} is "papier": send "&4[PFC] &f> &cPerdu !" to {player1} send "&4[PFC] &f> &aGagné !" to {player2} set {firstP} to {player2} set {secondP} to {player1} if {choix.%{player2}%} is "ciseau": send "&4[PFC] &f> &aGagné !" to {player1} send "&4[PFC] &f> &cPerdu !" to {player2} set {firstP} to {player1} set {secondP} to {player2} if {choix.%{player1}%} is "papier": if {choix.%{player2}%} is "pierre": send "&4[PFC] &f> &aGagné !" to {player1} send "&4[PFC] &f> &cPerdu !" to {player2} set {firstP} to {player1} set {secondP} to {player2} stop if {choix.%{player2}%} is "papier": send "&4[PFC] &f> &6Egalité !" to {player1} send "&4[PFC] &f> &6Egalité !" to {player2} if {choix.%{player2}%} is "ciseau": send "&4[PFC] &f> &cPerdu !" to {player1} send "&4[PFC] &f> &aGagné !" to {player2} set {firstP} to {player2} set {secondP} to {player1} if {choix.%{player1}%} is "ciseau": if {choix.%{player2}%} is "pierre": send "&4[PFC] &f> &cPerdu !" to {player1} send "&4[PFC] &f> &aGagné !" to {player2} set {firstP} to {player2} set {secondP} to {player1} stop if {choix.%{player2}%} is "papier": send "&4[PFC] &f> &aGagné !" to {player1} send "&4[PFC] &f> &cPerdu !" to {player2} set {firstP} to {player1} set {secondP} to {player2} if {choix.%{player2}%} is "ciseau": send "&4[PFC] &f> &6Egalité !" to {player1} send "&4[PFC] &f> &6Egalité !" to {player2} delete {demande.%{player2}%.%{player1}%} delete {demande.%{player1}%.%{player2}%} delete {CPFC.%{player1}%} delete {CPFC.%{player2}%} delete {choix.%{player1}%} delete {choix.%{player2}%} delete {InGamePFC.%{player1}%} delete {InGamePFC.%{player2}%} else: send "&cLe joueur n'as pas fait sont choix !" to {player1} wait 3 ticks open chest with 3 rows named "&6Voir Résultat" to {player1} wait 2 ticks format slot 13 of {player1} with paper named "&6Voir les résulats" to close then run [make {player1} execute command "/§resultOK %{player2}%"] stop
  3. Version de Minecraft : 1.12.2 Version de Skript : 2.2.3 Addons utilisés:MundoSk, Skelett, Sk Query-Lime, Tuske Type du skript : Lg-uhc Description du script : Bonjour, alors j'utilise le skript de uyitt ,et je veux ajouter des roles, la j'ajoute le Chien loup, et j'aurai besoin de votre aide, le concept est qu'a chaque debut de partie il choisit un camp, ce que j'ai fait c'est quand son role est révélé, il y'a une fonction qui lui permet de choisir son roles, si vous voulez voir case "Chien-Loup": message "&8&l>> &2&cChien&f-&4Loup" to {_p} message "&7Il choisis son camp" to {_p} message "Il dispose d'un effet de speed si il est avec le village en plus" to {_p} message " de &4 2 coeurs&f supplémentaires" to {_p} message "&6Il peut gagner ..." to {_p} message "&8&l>> &fsi le camp adverse, le loup garou blanc et l'assassin sont morts." to {_p} message "&8&l<cmd:/lg power wolfwere>&8&l[&aCliquez ici pour choisir votre camp&8&l]" to {_p} ensuite la fonction, je sais pas trop comment faire, je veux faire un truc du genre, quand il clique sur la rotten flesh, ah bah oui jvous ai pas montre la fonction function lgu_wolfwere(p: player): open virtual chest inventory with size 2 with name "&8Choisir un camp" to {_p} make a gui slot 1 of {_p} with 1 rotten flesh named "&4Les loups-garous" make a gui slot 2 of {_p} with book named "&fLe village" Autre partie du code: else if {lg::%player%::role} is "Chien-Loup": if {lg::power::%player%} is not set: if arg 2 is "wolfwere": lgu_wolfwere(player) else: message "&cVous ne pouvez pas faire cette commande" to player la commande avant cette partie c'est if arg 1 is "power" et la commande 'source' on va dire c'est ca command /lg [<text="help">] [<text>] [<player>] [<text>]: Donc juste en dessous de la fontion avec les make gui slot, jveux que quand il clique sur la rotten flesh, ca lui fasse, un set {lg::%player%::role} to "Loup-garou" ou un truc du genre, et si il choisi le livre, y'ai un truc du genre set player's max health to 12 , et apply speed without any particles to {_p} for 99 days, quelqu'un pourrait m'aider, je suis pas ouf avec les commandes des virtual chest, merci d'avance
×
×
  • 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.