Aller au contenu
Skols28

résolu ✔ Bug Player Show

Messages recommandés

Version de Minecraft : 1.8
Version de Skript : Dev35 Je crois

Addons utilisés: Umbaska, Wildskript,SkRayFal,SkQuery,Skellet

Type du skript : Aide Skript

Description du script :

Je ne comprends pas pourquoi mon skript ne fonctionne pas..
 

Révélation

 

on rightclick with a Gunpowder:
    if {cooldownlobby%player%} is not set:
        set {show%player%} to true
        set the player's tool to a Gunpowder named "&fJoueurs &cinvisibles &7(Clic-droit)"
        hide all players from player
        set {cooldownlobby%player%} to true
        wait 5 seconds
        clear {cooldownlobby%player%}
    else:
        set action bar of player to "&cErreur merci de patienter entre chaque utilisation."

on rightclick with a Eye of Ender:
    if {cooldownlobby%player%} is not set:
        clear {show%player%}
        set the player's tool to a Eye of Ender named "&fJoueurs &avisibles &7(Clic-droit)"
        reveal all players from player
        set {cooldownlobby%player%} to true
        wait 5 seconds
        clear {cooldownlobby%player%}
    else:
        set action bar of player to "&cErreur merci de patienter entre chaque utilisation."

on join:
    set join message to ""
    set player's gamemode to adventure
    teleport player to {hub}
    broadcast "&6%player% &7a rejoint le Serveur !"
    send player title "§4Votre§fServeur" with subtitle "&cBon jeu !" for 5 seconds
    set action bar of player to "&7Encore une fois, sur ton serveur d'amour"
    set slot 5 of the player to a Gunpowder named "&fJoueurs &cinvisibles &7(Clic-droit)"

 

 

Modifié par Skols28

Partager ce message


Lien à poster
Partager sur d’autres sites

Problème réglé. voici le code pour ceux qui veulent :

 

on rightclick with a Gunpowder:
    if world of player is "Lobby":
        if {cooldownlobby%player%} is not set:
            set {show%player%} to true
            set the player's tool to a Eye of Ender named "&fJoueurs &ainvisibles &7(Clic-droit)"
            hide all players from player
            set {cooldownlobby%player%} to true
            wait 5 seconds
            clear {cooldownlobby%player%}
        else:
            set action bar of player to "&cErreur merci de patienter entre chaque utilisation."

on rightclick with a Eye of Ender:
    if world of player is "Lobby":
        if {cooldownlobby%player%} is not set:
            clear {show%player%}
            set the player's tool to a Gunpowder named "&fJoueurs &cvisibles &7(Clic-droit)"
            reveal all players from player
            set {cooldownlobby%player%} to true
            wait 5 seconds
            clear {cooldownlobby%player%}
        else:
            set action bar of player to "&cErreur merci de patienter entre chaque utilisation."

on join:
    set join message to ""
    set player's gamemode to adventure
    teleport player to {hub}
    broadcast "&6%player% &7a rejoint le Serveur !"
    send player title "§4Votre§fServeur" with subtitle "&cBon jeu !" for 5 seconds
    set action bar of player to "&7Encore une fois, sur ton serveur d'amour"
    set slot 4 of the player to a Gunpowder named "&fJoueurs &cvisibles &7(Clic-droit)"

 

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

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