Ir para conteúdo
  • 0

Skript - Problema com Menu GUI


Hernandes

Pergunta

Alguém me ajuda eu tô tentando criar um menu gui mas tá dando erro.

Tô fazendo assim:

command /teste:

    trigger:

        open chiste with 2 row named "teste" to player

 

 

E está dando esse erro:

"chest with 2 row named "teste" is not entity type

Link para o comentário
Compartilhar em outros sites

7 respostass a esta questão

Posts Recomendados

  • 0
39 minutos atrás, Hernandes disse:

Alguém me ajuda eu tô tentando criar um menu gui mas tá dando erro.

Tô fazendo assim:

command /teste:

    trigger:

        open chiste with 2 row named "teste" to player

 

 

E está dando esse erro:

"chest with 2 row named "teste" is not entity type

Se for realmente fazer menu's com skript, acho melhor migrar pro chestcommands..

Link para o comentário
Compartilhar em outros sites

  • 0

Adiciona discord, te ajudo lá:  TheDarkGhost BR#2351,

Esse aqui pode ser uma base pra ti...

command /comprardesban:
    trigger:
        open chest with 3 rows named "&4&lRUBIX - DESBAN" to player
        wait 0.1 seconds
        format slot 0 of player with a diamond block named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 1 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 2 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 3 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 4 of player with a orange dye named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 5 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 6 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 7 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 8 of player with a diamond block named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 9 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 17 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 18 of player with a diamond block named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 12 of player with a green wool named "&a&lConfirma a Compra" with lore "&2&lConfirma a compra.|&2Preço: &c$500000.0" to close then run [make player execute command "/confirmarunban"]
        format slot 14 of player with a red wool named "&4&lCancelar a Compra" with lore "&c&lCancela a compra" to be unstealable
        format slot 19 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 20 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 21 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 22 of player with a orange dye named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 23 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 24 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 25 of player with a vines named "&3&l[DESBAN]" with lore "" to be unstealable
        format slot 26 of player with a diamond block named "&3&l[DESBAN]" with lore "" to be unstealable

on inventory click:
    if inventory name of player's current inventory is "&4&lRUBIX - DESBAN":
        cancel event
        send "&c>> &9Você não pode mudar isto aqui!"

Denada rs.

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...