Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #!=================================[ Cash ]=================================!# #
- # #! Autor: KingDarkZ_ !# #
- # #! Nome: KDZ_Luz !# #
- # #! Versão: 2.0 !# #
- # #! Skript 100% gratuito !# #
- # #! Dependência: Nadinha !# #
- # #! !# #
- # #!=================================[ Cash ]=================================!# #
- variables:
- {luz.KingDarkZ_} = false
- command /luz [<text>]:
- trigger:
- if arg 1 is not set:
- send "&6&l[Luz] &f&lUse &4/Luz &aOn &f&lpara &a&lLigar &f&lsua lanterna &7."
- send "&6&l[Luz] &f&lUse &4/Luz &cOff &f&lpara &4&lDesligar &f&lsua lanterna &7."
- if arg 1 is "ligar":
- if {luz.KingDarkZ_} is false:
- execute console command "effect %player% 16 99999 4"
- send "&6&l[Luz] &f&lVoce &a&lLigou &f&la Luz &7."
- set {luz.KingDarkZ_} to true
- else:
- send "&e * &cSua lanterna já está ativada!"
- if arg 1 is "desligar":
- if {luz.KingDarkZ_} is true:
- execute console command "effect %player% 16 0 0"
- send "&6&l[Luz] &f&lVoce &4Desligou &f&la Luz &7."
- set {luz.KingDarkZ_} to false
- else:
- send "&e * &cSua lanterna já está desativada!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement