Aller au contenu
  • 0

Bug de gui :(


Question

Posté(e)

Bonsoir, j'ai un skript qui marche très bien mais.. on peut tout déplacer dans le gui et les commandes ce mettent pas alors que il n'a pas de message d'erreur (j'ai tout les addons nécessaires aussi) :(

command /menu:
   trigger:   
       wait 3 ticks
       open chest with 5 rows named "&8Menu Principal" to player
       format slot 2 of player with 388 named "&2Shop" to run [make player execute command "/warp shop"]
       format slot 4 of player with 2 named "&bSky&fblock" to run [make player execute command "/skyblock"]
       format slot 6 of player with 323 named "&6Warps" to run [make player execute command "/mwarp"]
       format slot 12 of player with 58 named "&3Events" to run [make player execute command "/event"]
       format slot 14 of player with 268 named "&eArene" to run [make player execute command "/warp arene"]
       format slot 18 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 19 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 20 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 21 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 22 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 23 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 24 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 25 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 26 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 27 of player with 339 named "&bInformations" to run [make player execute command "/info"]
       format slot 31 of player with 355 named "&f/hub" to run [make player execute command "/spawn"]
       format slot 35 of player with 352 named "&2Pets" to run [make player execute command "/pet"]
       format slot 36 of player with 266 named "&eBoutique In-Game" to run [make player execute command "/boutique"]
       format slot 40 of player with 397:3 named "&3Bon jeux %player%!" to be unstealable
       format slot 44 of player with 368 named "&2Cosmétique" to run [make player execute command "/cosmetique"]

command /boutique:
   trigger:
       wait 3 tick
       open chest with 1 row named "&3Shop:" to player
       format slot 0 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 2 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 3 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 5 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 6 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 8 of player with 160:5 named "&4" to close then run [make player execute command "/boutique"]
       format slot 1 of player with 310 named "&cKits" to close then run [make player execute command "/kitgui"]
       format slot 4 of player with 388 named "&cGrades" to close then run [make player execute command "/grade"]
       format slot 7 of player with 3:0 named "&cItem" to close then run [make player execute command "/item"]

8 réponses à cette question

Messages recommandés

  • 0
Posté(e)

2 choses.

1 tu utilises SkQuery ^^ utilise TuSKe pour les guis ce sera beaucoup plus simple et tu n'auras pas ce genre de problème.

2. Le "wait 3 ticks" il faut le mettre juste après le "open chest" pas juste avant :) (et avec TuSKe tu n'as plus besoin de ce wait)

  • 0
Posté(e)

Normalement sa marche:

command /menu:
   trigger:   
       open chest with 5 rows named "&8Menu Principal" to player
       wait 3 ticks
       format slot 2 of player with 388 named "&2Shop" to run [make player execute command "/warp shop"]
       format slot 4 of player with 2 named "&bSky&fblock" to run [make player execute command "/skyblock"]
       format slot 6 of player with 323 named "&6Warps" to run [make player execute command "/mwarp"]
       format slot 12 of player with 58 named "&3Events" to run [make player execute command "/event"]
       format slot 14 of player with 268 named "&eArene" to run [make player execute command "/warp arene"]
       format slot 18 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 19 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 20 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 21 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 22 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 23 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 24 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 25 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 26 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 27 of player with 339 named "&bInformations" to run [make player execute command "/info"]
       format slot 31 of player with 355 named "&f/hub" to run [make player execute command "/spawn"]
       format slot 35 of player with 352 named "&2Pets" to run [make player execute command "/pet"]
       format slot 36 of player with 266 named "&eBoutique In-Game" to run [make player execute command "/boutique"]
       format slot 40 of player with 397:3 named "&3Bon jeux %player%!" to be unstealable
       format slot 44 of player with 368 named "&2Cosmétique" to run [make player execute command "/cosmetique"]

command /boutique:
   trigger:
       open chest with 1 row named "&3Shop:" to player
       wait 3 ticks
       format slot 0 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 2 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 3 of player with 160:5 named "&4" to run [make player execute command "/boutique"]
       format slot 5 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 6 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 8 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 1 of player with 310 named "&cKits"  to run [make player execute command "/kitgui"]
       format slot 4 of player with 388 named "&cGrades"  to run [make player execute command "/grade"]
       format slot 7 of player with 3:0 named "&cItem"  to run [make player execute command "/item"]

  • J'aime 1
  • 0
Posté(e)

il faut que tu mette un temp d'attente avant la mise des items:

command /menu:
   trigger:   
       open chest with 5 rows named "&8Menu Principal" to player
       wait 1 ticks
       format slot 2 of player with 388 named "&2Shop" to run [make player execute command "/warp shop"]
       format slot 4 of player with 2 named "&bSky&fblock" to run [make player execute command "/skyblock"]
       format slot 6 of player with 323 named "&6Warps" to run [make player execute command "/mwarp"]
       format slot 12 of player with 58 named "&3Events" to run [make player execute command "/event"]
       format slot 14 of player with 268 named "&eArene" to run [make player execute command "/warp arene"]
       format slot 18 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 19 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 20 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 21 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 22 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 23 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 24 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 25 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 26 of player with 160:5 named "&4" to run [make player execute command "/menu"]
       format slot 27 of player with 339 named "&bInformations" to run [make player execute command "/info"]
       format slot 31 of player with 355 named "&f/hub" to run [make player execute command "/spawn"]
       format slot 35 of player with 352 named "&2Pets" to run [make player execute command "/pet"]
       format slot 36 of player with 266 named "&eBoutique In-Game" to run [make player execute command "/boutique"]
       format slot 40 of player with 397:3 named "&3Bon jeux %player%!" to be unstealable
       format slot 44 of player with 368 named "&2Cosmétique" to run [make player execute command "/cosmetique"]

command /boutique:
   trigger:
       open chest with 1 row named "&3Shop:" to player
       wait 1 ticks
       format slot 0 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 2 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 3 of player with 160:5 named "&4" to run [make player execute command "/boutique"]
       format slot 5 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 6 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 8 of player with 160:5 named "&4"  to run [make player execute command "/boutique"]
       format slot 1 of player with 310 named "&cKits"  to run [make player execute command "/kitgui"]
       format slot 4 of player with 388 named "&cGrades"  to run [make player execute command "/grade"]
       format slot 7 of player with 3:0 named "&cItem"  to run [make player execute command "/item"]

  • J'aime 1
  • 0
Posté(e)

Alors fait plutot comme sa :

command /menu:
   trigger:   
       wait 2 ticks
       open chest with 5 rows named "&8Menu Principal" to player
       wait 1 ticks
       format slot 2 of player with 388 named "&2Shop" to run [make player execute command "/warp shop"]
       format slot 4 of player with 2 named "&bSky&fblock" to run [make player execute command "/skyblock"]
       format slot 6 of player with 323 named "&6Warps" to run [make player execute command "/mwarp"]
       format slot 12 of player with 58 named "&3Events" to run [make player execute command "/event"]
       format slot 14 of player with 268 named "&eArene" to run [make player execute command "/warp arene"]
       format slot 18 of player with 160:5 named "&4" to be unstealable
       format slot 19 of player with 160:5 named "&4" to be unstealable
       format slot 20 of player with 160:5 named "&4" to be unstealable
       format slot 21 of player with 160:5 named "&4" to be unstealable
       format slot 22 of player with 160:5 named "&4" to be unstealable
       format slot 23 of player with 160:5 named "&4" to be unstealable
       format slot 24 of player with 160:5 named "&4" to be unstealable
       format slot 25 of player with 160:5 named "&4" to be unstealable
       format slot 26 of player with 160:5 named "&4"to be unstealable
       format slot 27 of player with 339 named "&bInformations" to run [make player execute command "/info"]
       format slot 31 of player with 355 named "&f/hub" to run [make player execute command "/spawn"]
       format slot 35 of player with 352 named "&2Pets" to run [make player execute command "/pet"]
       format slot 36 of player with 266 named "&eBoutique In-Game" to run [make player execute command "/boutique"]
       format slot 40 of player with 397:3 named "&3Bon jeux %player%!" to be unstealable
       format slot 44 of player with 368 named "&2Cosmétique" to run [make player execute command "/cosmetique"]

command /boutique:
   trigger:
       wait 2 ticks
       open chest with 1 row named "&3Shop:" to player
       wait 1 ticks
       format slot 0 of player with 160:5 named "&4"  to be unstealable
       format slot 2 of player with 160:5 named "&4"  to be unstealable
       format slot 3 of player with 160:5 named "&4" to be unstealable
       format slot 5 of player with 160:5 named "&4"  to be unstealable
       format slot 6 of player with 160:5 named "&4"  to be unstealable
       format slot 8 of player with 160:5 named "&4"  to be unstealable
       format slot 1 of player with 310 named "&cKits"  to run [make player execute command "/kitgui"]
       format slot 4 of player with 388 named "&cGrades"  to run [make player execute command "/grade"]
       format slot 7 of player with 3:0 named "&cItem"  to run [make player execute command "/item"]

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