Advertisement
MarcolaPCc

y&HrItensEspeciais.sk

Aug 27th, 2017
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. # ------------------------------------------------------------------------ #
  2. # #
  3. # ESTE SCRIPT FOI TOTALMENTE DESENVOLVIDO POR: yMarcosMC e CeCelo #
  4. # #
  5. # ------------------------------------------------------------------------ #
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. # Alguma coisa que você editar errada pode gerar erros, então qualquer erro que acontecer me contacte #
  13.  
  14. # Skype: live:marcosvinicius01234_1
  15.  
  16.  
  17.  
  18.  
  19. # Comandos:
  20.  
  21. # /darespeciais <jogador> <nome no item>
  22. # /iespeciais <jogador> <nome no item>
  23.  
  24.  
  25.  
  26.  
  27. # Permissões:
  28.  
  29. # itens.admin [Para poder pegar o item]
  30.  
  31.  
  32.  
  33.  
  34. # Addons necessarios:
  35.  
  36. # SkRayFall
  37. # SkQuery
  38. # Skript (É claro!)
  39.  
  40.  
  41.  
  42. on script load:
  43. send "&5[ItensEspecias] &dScript by yMarcosMC e CeCelo &a[ATIVADO]" to console
  44. send "&5[ItensEspecias] &dVersao 1.0" to console
  45. on script unload:
  46. send "&5[ItensEspecias] &dScript by yMarcosMC e CeCelo &c[DESATIVADO]" to console
  47. send "&5[ItensEspecias] &dVersao 1.0" to console
  48.  
  49.  
  50.  
  51. variables:
  52.  
  53. escudo = 0
  54.  
  55. rapidinho = 0
  56.  
  57.  
  58.  
  59.  
  60. command /darespeciais [<player>] [<text>]:
  61.  
  62. aliases: iespeciais
  63. trigger:
  64. if player has permission "itens.admin":
  65. if arg 1 is player:
  66. if arg 1 is online:
  67. if arg 1 is set:
  68. if arg 2 is "lancador":
  69. give firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!" to arg 1
  70. set action bar of arg 1 to "&e * Voce recebeu 1 &6Lancador(es)&e."
  71. stop
  72. if arg 2 is "rapidinho":
  73. give 1 bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!" to arg 1
  74. set action bar of arg 1 to "&e * Voce recebeu 1 &6Rapidinho(s)&e."
  75. stop
  76. if arg 2 is "jetpack":
  77. give 1 leather chestplate named "&bJetpack" with lore "&e * Use para ir para as alturas!" to arg 1
  78. set action bar of arg 1 to "&e * Voce recebeu 1 &6Jetpack(s)&e."
  79. stop
  80. if arg 2 is "fogo":
  81. give 1 fire charge named "&cBola de Fogo" with lore "&e * Cause uma grande explosão!" to player
  82. set action bar of arg 1 to "&e * Voce recebeu 1 &6Bola(s) de fogo&e."
  83. stop
  84. if arg 2 is "escudo":
  85. give 1 paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger" to arg 1
  86. set action bar of arg 1 to "&e * Voce recebeu 1 &6Escudo&e."
  87. stop
  88. else:
  89. send "" to player
  90. send " &6* Itens desponiveis no momento." to player
  91. send " &6* [Fogo - Escudo - Rapidinho - Jatpack]" to player
  92. send "" to player
  93. stop
  94. else:
  95. send "" to player
  96. send " &6* Escolha um dos itens especias abaixo." to player
  97. send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to arg 1
  98. send "" to player
  99. stop
  100. else:
  101. send "" to player
  102. send " &6* Jogador off-line, tente novamente." to player
  103. send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to player
  104. send "" to player
  105. stop
  106. else:
  107. send "" to player
  108. send " &6* Escolha um dos itens especias abaixo." to player
  109. send " &6* /ItensEspecias <player> <Fogo - Escudo - Rapidinho - Jatpack> " to player
  110. send "" to player
  111. stop
  112. else:
  113. send "&cVocê não tem permissão para executar esse comando." to player
  114. stop
  115. on leftclick:
  116. player is wearing leather chestplate named "&bJetpack"
  117. thrust player upwards at speed 0.4
  118. thrust player forwards at speed 0.4
  119. show mob spawner flames at location of the player
  120. damage player's chestplate by 1 heart
  121.  
  122. on click:
  123. if player is holding fire charge named "&cBola de Fogo":
  124. shoot a fireball from the player at speed 1
  125. remove 1 fire charge named "&cBola de Fogo" from the player
  126. set action bar of player to "&a * Você usou sua bola de fogo."
  127. else:
  128. stop
  129. on rightclick holding paper:
  130. tool = paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger":
  131. if {escudo} is 0:
  132. set {escudo} to false
  133. if {escudo} is false:
  134. set {escudo} to true
  135. apply health boost 5 to the player for 3 minutes
  136. remove 1 paper named "&6Escudo" with lore "&7 * Use este item para Se Proteger" from the player
  137. set action bar of player to "&a * Você ativou seu escudo."
  138. wait 1 minutes
  139. set action bar of player to "&a * Você tem mais 2 minuto de escudo."
  140. wait 1 minutes
  141. set action bar of player to "&a * Você tem mais 1 minuto de escudo."
  142. wait 1 minutes
  143. set {escudo} to false
  144. set action bar of player to "&a * O seu escudo acabou."
  145. stop
  146. if {escudo} is true:
  147. set {escudo} to false
  148. set action bar of player to "&aVocê ja esta com o escudo ativo."
  149. stop
  150. on rightclick holding bottle o' enchanting:
  151. tool = bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!":
  152. if {rapidinho} is 0:
  153. set {rapidinho} to false
  154. if {rapidinho} is false:
  155. set {rapidinho} to true
  156. apply haste 4 to the player for 3 minutes
  157. remove 1 bottle o' enchanting named "&2Rapidinho" with lore "&e * Use este item para poder escavar mais rapido!" from the player
  158. set action bar of player to "&a * Você usou seu rapidinho."
  159. wait 1 minutes
  160. set action bar of player to "&a * Você tem mais 2 minuto de rapidinho."
  161. wait 1 minutes
  162. set action bar of player to "&a * Você tem mais 1 minuto de rapidinho."
  163. wait 1 minutes
  164. set {rapidinho} to false
  165. set action bar of player to "&a * O seu rapidinho acabou."
  166. stop
  167. if {rapidinho} is true:
  168. set {rapidinho} to false
  169. set action bar of player to "&aVocê ja esta com o rapidinho ativo."
  170. stop
  171. on damage:
  172. if {escudo} is true:
  173. if victim is a player:
  174. if attacker is a player:
  175. cancel event
  176. on right click:
  177. if tool of player is firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!":
  178. cancel event
  179. remove 1 firework rocket named "&eLancador" with lore "&eUsando este item ele irá levar para cima!" from the player
  180. push player upward at force 4
  181. set action bar of player to "&a * Você usou seu lancador."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement