Advertisement
Guest User

Skript de LUZ

a guest
Aug 23rd, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. variables:
  2. luz = 0
  3. conferir = 0
  4. options:
  5. site: &ewww.site.com.br &c # Coloque o link do site do seu servidor aqui.
  6. command /luz [<text>]:
  7. trigger:
  8. if player has permission "luz.ativar":
  9. if arg 1 is set:
  10. if arg 1 is "ativar":
  11. apply night vision to the player for 999 days
  12. send "" to player
  13. send " &a* Modo luz foi ativado." to player
  14. send "" to player
  15. set {luz} to true
  16. stop
  17. if arg 1 is "desativar":
  18. remove night vision from the player
  19. send "" to player
  20. send " &c* Modo luz foi desativado." to player
  21. send "" to player
  22. set {luz} to false
  23. stop
  24. if arg 1 is "conferir":
  25. if {luz} is true:
  26. send "" to player
  27. send " &7* Você está no momento com o modo luz: &aATIVADO&c." to player
  28. send "" to player
  29. stop
  30. if {luz} is false:
  31. send "" to player
  32. send " &7* Você está no momento com o modo luz: &cDESATIVADO&c." to player
  33. send "" to player
  34. stop
  35. else:
  36. send "" to player
  37. send " &7* Sintaxe incorreta, utiliza-se &c/luz <Ativar/Desativar/Conferir>." to player
  38. send "" to player
  39. stop
  40. else:
  41. send "" to player
  42. send " &7* Sintaxe incorreta, utiliza-se: " to player
  43. send " &c/luz <Ativar/Desativar/Conferir>." to player
  44. send "" to player
  45. stop
  46. else:
  47. send "" to player
  48. send " &c Somente VIP's e Superiores podem acessar esse comando." to player
  49. send " &c Compre VIP em nosso site: {@site}e acesse-o comando." to player
  50. send "" to player
  51. stop
  52. on respawn:
  53. wait 2 tick
  54. if {luz} is true:
  55. apply night vision to the player for 999 days
  56. stop
  57. if {luz} is false:
  58. remove night vision from the player
  59. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement