Advertisement
Guest User

TBTestClick

a guest
Mar 22nd, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. #Autor: TheBigPig
  2. #Nome: TBTestClick
  3. #Versão: 2.0
  4. #Dependencias: SkQuery
  5. #NAO FUNCIONA NA 1.5.2
  6.  
  7.  
  8. options:
  9. #Digite o nome do seu servidor
  10. PreffixServidor: [TestClick]
  11. Cor: &a
  12. CorPreffix: &a
  13. CorNumeros: &4
  14. CorRank: &a
  15. CorErro: &c
  16.  
  17. command /tclick:
  18. trigger:
  19. if {testando.%player%} is false:
  20. set {testando.%player%} to true
  21. set {clicks.%player%} to 0
  22. wait 1 seconds
  23. play raw sound "note.hat" at player with pitch 1 volume 10
  24. send "{@CorPreffix}{@PreffixServidor}{@Cor} Teste de clicks iniciando em {@CorNumeros}3..."
  25. wait 1 seconds
  26. play raw sound "note.hat" at player with pitch 1 volume 10
  27. send "{@CorPreffix}{@PreffixServidor}{@Cor} Teste de clicks iniciando em {@CorNumeros}2..."
  28. wait 1 seconds
  29. play raw sound "note.hat" at player with pitch 1 volume 10
  30. send "{@CorPreffix}{@PreffixServidor}{@Cor} Teste de clicks iniciando em {@CorNumeros}1..."
  31. reduce the player's level progress by 999
  32. wait 1 seconds
  33. set {comecou} to true
  34. set {testando.%player%} to true
  35. play raw sound "note.pling" at player with pitch 1 volume 10
  36. send "{@CorPreffix}{@PreffixServidor}{@Cor} Teste de clicks iniciado."
  37. wait 10 seconds
  38. play raw sound "random.anvil_break" at player with pitch 1 volume 10
  39. send "{@CorPreffix}{@PreffixServidor}{@Cor} Teste finalizado. Voce faz em media %{clicks.%player%}% clicks a cada {@CorNumeros}10 segundos."
  40. set {testando.%player%} to false
  41. reduce the player's level progress by 999
  42. else:
  43. send "{@CorErro}{@PreffixServidor} O Testclick ja esta ocorrendo!"
  44.  
  45. on enchant:
  46. {testando.%player%} is true:
  47. cancel event
  48. send "{@CorPreffix}{@PreffixServidor}{@Cor} Aguarde o TestClick finalizar para isto."
  49.  
  50. on leftclick:
  51. if {testando.%player%} is true:
  52. if {comecou} is true:
  53. increase level progress of player by 1
  54. add 1 to {clicks.%player%}
  55.  
  56. on disconnect:
  57. set {testando.%player%} to false
  58.  
  59. on connect:
  60. set {testando.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement