Advertisement
Guest User

zTPotionSplashCooldown

a guest
Jun 5th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # » Nome: zTMegafone
  2. # » Skript By: zTeyvolzZ
  3. # » Versão 1.0
  4. # » Versão Do Minecraft testada: 1.5.2
  5. # » Divulgação: Gamer's Board
  6.  
  7. # ➜ Configuração #
  8. opitons:
  9. # Prefixo das mensagens
  10. Prefix: &2[zTPotionSplashCooldown]
  11. # Mensagem ao ter que esperar para jogar a poção novamente.
  12. Mensagem01: &bAguarde para jogar esta poção novamente.
  13. # Mensagem ao jogar a poção.
  14. Mensagem02: &aVocê jogou uma poção de dano instantâneo, aguarde 3 segundos para jogar outra novamente.
  15. # Tempo de cooldown para jogar a poção novamente. (EM SEGUNDOS)
  16. Tempo: 3
  17.  
  18. # ➜ Fim da configuração #
  19.  
  20. # ➜ Código Fonte
  21.  
  22. on rightclick with Splash Potion of Harming:
  23. set {_wsplash} to difference between {Potion.Delay::%player%} and now
  24. if {_wsplash} is less than {@Tempo} seconds:
  25. send "{@Prefix} {@Mensagem01}"
  26. cancel event
  27. send "{@Mensagem02}"
  28. set {Potion.Delay::%player%} to now
  29.  
  30. command /zTPotionSplashCooldown:
  31. trigger:
  32. # ➜ Deixe os créditos, ninguém vai querer saber deste comando mesmo ;-;
  33. send "&2[zTPotionSplashCooldown] &bScript by: &fzTeyvolzZ"
  34. send "&2[zTPotionSplashCooldown] &aDivulgado em: &fwww.gamersboard.com.br"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement