Advertisement
zGhol

Untitled

Dec 21st, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. on join:
  2. set {ToggleLigado.%player%} to true
  3. stop
  4.  
  5. command /toggle12:
  6. trigger:
  7. wait 0 seconds
  8. if {ToggleLigado.%player%} is true:
  9. open chest with 6 row named "Configurações" to player
  10. 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"]
  11. stop
  12. else:
  13. if {ToggleDesligado.%player%} is true:
  14. open chest with 6 row named "Configurações" to player
  15. 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"]
  16. stop
  17.  
  18. command /togglel:
  19. trigger:
  20. if {ToggleDesligado.%player%} is true:
  21. open chest with 6 row named "Configurações" to player
  22. 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"]
  23. set {ToggleLigado.%player%} to true
  24. set {ToggleDesligado.%player%} to false
  25. stop
  26. stop
  27.  
  28. command /toggled:
  29. trigger:
  30. if {ToggleLigado.%player%} is true:
  31. open chest with 6 row named "Configurações" to player
  32. 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