Guest User

Skript de warps!

a guest
Jun 9th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. #Autor do Skript: TDias_
  2. #Nome do Skript: TDWarps
  3. #Versão do Skript: v1.0
  4. #Por Favor, não tire o [TDWarps] :)
  5. #Não testei, qualquer erro me mande uma MP!
  6.  
  7. command /setwarp [<text>]:
  8. permission: setwarp.usar
  9. permission message: &b&lSeuServer &e>> &cSem Permissão!
  10. trigger:
  11. if arg 1 is set:
  12. set {awarps.warps::%arg 1%} to location of player
  13. send "&b[TDWarps]&a A Warp %arg 1% foi criada!"
  14. send "&b[TDWarps]&a Para ir para uma warp digite o comando: /%arg 1%."
  15. send "&b[TDWarps]&a Permissao: awarps.warps.%arg 1%"
  16.  
  17. command /delwarp [<text>]:
  18. permission: delwarp.usar
  19. permission message: &b&lSeuServer &e>> &cSem Permissão!
  20. trigger:
  21. if arg 1 is set:
  22. clear {awarps.warps::%arg 1%}
  23. send "&b[TDWarps]&a A Warp %arg 1% foi excluida!"
  24.  
  25. command /warps:
  26. trigger:
  27. send "&b[TDWarps]&7 Coloque, Warps, Aqui"
  28.  
  29. on command:
  30. loop {awarps.warps::*}:
  31. if "%loop-index% is %command%":
  32. cancel the event
  33. if player has permission "awarps.warps.%loop-index%":
  34. send "&b[TDWarps]&7 Aguarde 5 Segundos."
  35. wait 1 seconds
  36. send "&b[TDWarps]&7 Aguarde 4 Segundos."
  37. wait 1 seconds
  38. send "&b[TDWarps]&7 Aguarde 3 Segundos."
  39. wait 1 seconds
  40. send "&b[TDWarps]&7 Aguarde 2 Segundos."
  41. wait 1 seconds
  42. send "&b[TDWarps]&7 Aguarde 1 Segundo."
  43. wait 1 seconds
  44. teleport player to {awarps.warps::%loop-index%}
  45. send "&b[TDWarps]&7 Você foi teleportado."
  46. else:
  47. &b&lSeuServer &e>> &cSem Permissão!
Advertisement
Add Comment
Please, Sign In to add comment