Advertisement
KingDarkZ_-Lucas

KDZ_Luz.sk

Nov 27th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. # #!=================================[ Cash ]=================================!# #
  2. # #! Autor: KingDarkZ_ !# #
  3. # #! Nome: KDZ_Luz !# #
  4. # #! Versão: 2.0 !# #
  5. # #! Skript 100% gratuito !# #
  6. # #! Dependência: Nadinha !# #
  7. # #! !# #
  8. # #!=================================[ Cash ]=================================!# #
  9.  
  10. variables:
  11. {luz.KingDarkZ_} = false
  12.  
  13. command /luz [<text>]:
  14. trigger:
  15. if arg 1 is not set:
  16. send "&6&l[Luz] &f&lUse &4/Luz &aOn &f&lpara &a&lLigar &f&lsua lanterna &7."
  17. send "&6&l[Luz] &f&lUse &4/Luz &cOff &f&lpara &4&lDesligar &f&lsua lanterna &7."
  18. if arg 1 is "ligar":
  19. if {luz.KingDarkZ_} is false:
  20. execute console command "effect %player% 16 99999 4"
  21. send "&6&l[Luz] &f&lVoce &a&lLigou &f&la Luz &7."
  22. set {luz.KingDarkZ_} to true
  23. else:
  24. send "&e * &cSua lanterna já está ativada!"
  25. if arg 1 is "desligar":
  26. if {luz.KingDarkZ_} is true:
  27. execute console command "effect %player% 16 0 0"
  28. send "&6&l[Luz] &f&lVoce &4Desligou &f&la Luz &7."
  29. set {luz.KingDarkZ_} to false
  30. else:
  31. send "&e * &cSua lanterna já está desativada!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement