Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # Delay em SEGUNDOS!
- delay: 3
- # | Skript | #
- command /setwarp [<text>]:
- permission: script.admin
- permission message: &cVocê não tem acesso a este comando.
- trigger:
- if {vLocal::%arg 1%} is not set:
- set {vLocal::%arg 1%} to player's location
- add arg 1 to {vLocal.commands.executable::*}
- add arg 1 to {warps::*}
- send "&a&LWARP: &FTeleporte %arg 1% setado."
- send "&a&LWARP: &FUse /%arg 1%."
- stop
- else:
- send "&a&lWARP: &cEsta warp já foi setado! Delete-o antes de seta-lo novamente."
- command /delwarp [<text>]:
- aliases: delocal
- permission: script.admin
- permission message: &cVocê não tem acesso a este comando.
- trigger:
- if {vLocal::%arg 1%} is set:
- delete {vLocal::%arg 1%}
- remove arg 1 from {warps::*}
- remove arg 1 from {vLocal.commands.executable::*}
- send "&a&lWARP: &cTeleporte&f %arg 1%&c deletado."
- stop
- else:
- send "&a&lWARP: &cEssa warp não existe."
- stop
- command /warps:
- trigger:
- if {warps::*} is set:
- set {_a} to "%{warps::*}%"
- replace all "and" with "e" in {_a}
- send "&aWarps do servidor:"
- send "%{_a}%"
- stop
- else:
- send "&a&lWARP: &cDesculpe, não temos nenhuma warp."
- stop
- on command:
- loop {vLocal.commands.executable::*}:
- loop-value is complete command:
- if player has permission "vlocal.%command%":
- cancel event
- send "&a&lWARP: &7Você será teleportado em &e{@delay} &7segundos!"
- wait {@delay} seconds
- teleport player to {vLocal::%command%}
- send " "
- send "&aTeleportado para o ''%command%''&a."
- send " "
- play mob spawner flames at player
- play raw sound "note.pling" at player with pitch 1 volume 10
- stop
- else:
- cancel event
- send "&a&lWARP: &cVocê não tem permissão para utilizar esse comando."
- stop
Advertisement
Add Comment
Please, Sign In to add comment