zGhol

Untitled

Jan 11th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. on join:
  2. set {ToggleLigado.%player%} to true
  3. stop
  4.  
  5. command /chat global:
  6. trigger:
  7. if {ToggleLigado.%player%} is true:
  8. set {ToggleDesligado.%player%} to false
  9. set {ToggleLigado.%player%} to true
  10. open chest with 3 row named "&6Toggle" to player
  11. format slot 13 of player with a Green Stained Glass Pane named "&a&lLigado" with lore "&aLigado" to run [make player execute command "/tdesligado"]
  12. stop
  13. else:
  14. if {ToggleDesligado.%player%} is true:
  15. set {ToggleLigado.%player%} to false
  16. set {ToggleDesligado.%player%} to true
  17. open chest with 3 row named "&6Toggle" to player
  18. format slot 13 of player with a Red Stained Glass Pane named "&c&lDesligado" with lore "&cDesligado" to run [make player execute command "/tligado"]
  19. stop
  20.  
  21. command /tligado:
  22. trigger:
  23. if {ToggleLigado.%player%} is true:
  24. set {ToggleDesligado.%player%} to false
  25. set {ToggleLigado.%player%} to true
  26. open chest with 3 row named "&6Toggle" to player
  27. format slot 13 of player with a Green Stained Glass Pane named "&a&lLigado" with lore "&aLigado" to run [make player execute command "/tdesligado"]
  28. stop
  29.  
  30. command /tdesligado:
  31. trigger:
  32. if {ToggleDesligado.%plater%} is true:
  33. set {ToggleLigado.%player%} to false
  34. set {ToggleDesligado.%player%} to true
  35. open chest with 3 row named "&6Toggle" to player
  36. format slot 13 of player with a Red Stained Glass Pane named "&c&lDesligado" with lore "&cDesligado" to run [make player execute command "/tligado"]
  37. stop
Advertisement
Add Comment
Please, Sign In to add comment