Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {ToggleLigado.%player%} to true
- stop
- command /chat global:
- trigger:
- if {ToggleLigado.%player%} is true:
- open chest with 3 row named "&6Toggle" to player
- format slot 13 of player with a Green Stained Glass Pane named "&a&lLigado" with lore "&aLigado" to run [make player execute command "/tdesligado"]
- stop
- else:
- if {ToggleDesligado.%player%} is true:
- open chest with 3 row named "&6Toggle" to player
- format slot 13 of player with a Red Stained Glass Pane named "&c&lDesligado" with lore "&cDesligado" to run [make player execute command "/tligado"]
- stop
- command /tligado:
- trigger:
- if {ToggleDeligado.%player%} is true:
- format slot 13 of player with a Green Stained Glass Pane named "&a&lLigado" with lore "&aLigado" to close
- set {ToggleDesligado.%player%} to false
- set {ToggleLigado.%player%} to true
- open chest with 3 row named "&6Toggle" to player
- format slot 13 of player with a Green Stained Glass Pane named "&a&lLigado" with lore "&aLigado" to run [make player execute command "/tdesligado"]
- stop
- command /tdesligado:
- trigger:
- if {ToggleLigado.%player%} is true:
- format slot 13 of player with a Red Stained Glass Pane named "&c&lDesligado" with lore "&cDesligado" to close
- set {ToggleLigado.%player%} to false
- set {ToggleDesligado.%player%} to true
- open chest with 3 row named "&6Toggle" to player
- format slot 13 of player with a Red Stained Glass Pane named "&c&lDesligado" with lore "&cDesligado" to run [make player execute command "/tligado"]
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement