ryanlopes

Pedido

Jul 6th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. # Skript criado por ryanlopes ≧◠ᴥ◠≦
  2. # Pedido: http://gamersboard.com.br/topic/7477-premio/
  3.  
  4. # Aqui é a configuração do Skript
  5.  
  6. options:
  7. # Coloque aqui o prefixo/nome do seu servidor ex: [LopesGames]
  8. Prefixo: &8[&e&lPrêmio&8]
  9.  
  10. # Aqui coloque as porcentagens
  11. PorcentagemAcertar: 5%
  12. PorcentagemErrar: 10%
  13.  
  14. MensagemAcertou:&a Acertou !
  15. MensagemErrou:&4 Errou
  16.  
  17. # Aqui coloque o item que deve clicar e o prêmio
  18. Item: nether star
  19.  
  20. Prêmio: diamond chestplate of protection 5 and unbreaking 3
  21. Lore: &eItem do Sorteio
  22.  
  23. on right click with {@Item}:
  24. chance of {@PorcentagemAcertar}:
  25. give 1 {@Prêmio} with lore "{@Lore}" to player
  26. send "{@Prefixo} {@MensagemAcertou}"
  27. stop
  28.  
  29. on right click with {@Item}:
  30. chance of {@PorcentagemErrar}:
  31. send "{@Prefixo} {@MensagemErrou}"
  32. stop
Advertisement
Add Comment
Please, Sign In to add comment