Guest User

Untitled

a guest
Dec 10th, 2016
682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. ##!----------------------------
  2. ##!Criador: žφµร†ล√
  3. ##!Versão: 1.7 e 1.8
  4. ##!Dependência: PermissionsEx e Legendchat Para O Sistema De Tag
  5. ##!Fórum Postado: Gamers Board
  6. ##!Não Tire Os Créditos
  7.  
  8.  
  9.  
  10.  
  11. options:
  12. #------------------------------------------------------------------
  13. # Prefixo
  14. P: Natal
  15. #------------------------------------------------------------------
  16. # Msg Ao Usar O Comando /natal
  17. Msg1: &b-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  18. Msg2: &b&l >> O Player &a&l%player%&b&l ganhou uma presente de natal
  19. Msg3: &b&l >> Para Ganhar Tambem Use /natal
  20. Msg4: &b-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=
  21. #------------------------------------------------------------------
  22. Tempo: 1 #Tempo De Dalay
  23. Forma: seconds #Pode Alterar para seconds/minutes/hours
  24. #------------------------------------------------------------------
  25. TagVip: &4&L[Papai Noel]
  26. TagM: &c[PapaiNoel Fracassado]
  27. Vip: &6&l[Vip]
  28. Membro: &8&l[Membro]
  29. #------------------------------------------------------------------
  30.  
  31. command /natal:
  32. trigger:
  33. set {_espera} to difference between {Natal.Delay::%player%} and now
  34. if {_espera} is less than {@Tempo} {@Forma}:
  35. send "&c >> &6Aguarde Para Pegar A Caixa de Natal"
  36. stop
  37. give 1 Chest named "&bCaixa de natal" to player
  38. send "&6[!]&3 Você ganhou uma Caixa de Natal :)"
  39. broadcast "{@Msg1}"
  40. broadcast "{@Msg2}"
  41. broadcast "{@Msg3}"
  42. broadcast "{@Msg4}"
  43. set {CestaBasica.Delay::%player%} to now
  44.  
  45. on rightclick with a Chest:
  46. cancel event
  47. if name of tool of player is "&bCaixa de natal":
  48. if player has permission "vip.use":
  49. chance of 99%:
  50. give 10 Diamonds to player
  51. give 10 bread to player
  52. give 10 apple to player
  53. give 10 Enchanted Golden Apple to player
  54. give 5000 to player's account
  55. send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar uma Caixa de Natal especial"
  56. chance of 1%:
  57. give 3 Monster Spawner named "&6&lGaiola VIP" to player
  58. give 128 Diamonds to player
  59. give 64 bread to player
  60. give 20 apple to player
  61. give 25 Enchanted Golden Apple to player
  62. give 15000 to player's account
  63. execute console command "pex user %player% prefix {@TagVip} "
  64. send "&cVoce Ganhou Uma Caixa de Natal Vip e a tag {@TagVip} "
  65. send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar uma Caixa de Natal especial"
  66. else:
  67. chance of 99%:
  68. give 3 Diamonds to player
  69. give 3 bread to player
  70. give 3 apple to player
  71. give 1 Enchanted Golden Apple to player
  72. give 999 to player's account
  73. send "&c&l >> Voce Ganhou Uma Caixa de Natal"
  74. chance of 1%:
  75. give 1 Monster Spawner named "&6&lGaiola VIP" to player
  76. give 22 Diamonds to player
  77. give 10 bread to player
  78. give 10 apple to player
  79. give 2 Enchanted Golden Apple to player
  80. execute console command "pex user %player% prefix {@TagM}"
  81. give 1001 to player's account
  82. send "&c&l >> Voce Ganhou Uma Caixa de Natal é a tag {@TagM}"
  83.  
  84. on quit:
  85. if player has permission "vip.use":
  86. execute console command "pex user %player% prefix {@Vip} "
  87. else:
  88. execute console command "pex user %player% prefix {@Membro}"
Advertisement
Add Comment
Please, Sign In to add comment