Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {ToggleLigado.%player%} to true
- stop
- command /toggle12:
- trigger:
- wait 0 seconds
- if {ToggleLigado.%player%} is true:
- open chest with 6 row named "Configurações" to player
- format slot 13 of player with a Stained Glass Pane Lime named "&a&lLigado" with lore "&aEssa Configuração está ligada" to run [make player execute command "/toggled"]
- stop
- else:
- if {ToggleDesligado.%player%} is true:
- open chest with 6 row named "Configurações" to player
- format slot 13 of player with a Stained Glass Pane Red named "&c&lDesligado" with lore "&aEssa Configuração está desligada" to run [make player execute command "/togglel"]
- stop
- command /togglel:
- trigger:
- if {ToggleDesligado.%player%} is true:
- open chest with 6 row named "Configurações" to player
- format slot 13 of player with a Stained Glass Pane Lime named "&a&lLigado" with lore "&aEssa Configuração está ligada" to run [make player execute command "/toggled"]
- set {ToggleLigado.%player%} to true
- set {ToggleDesligado.%player%} to false
- stop
- stop
- command /toggled:
- trigger:
- if {ToggleLigado.%player%} is true:
- open chest with 6 row named "Configurações" to player
- format slot 13 of player with a Stained Glass Pane Red named "&c&lLigado" with lore "&aEssa Configuração está desligada" to run [make player execute command "/togglel"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement