Guest User

Untitled

a guest
Aug 19th, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.65 KB | None | 0 0
  1. #TeamLegendSK
  2. #!--------------!#
  3. #! By: zJHonny !#
  4. #! Versão v1.0 !#
  5. #!--------------!#
  6. #TeamLegendSK
  7.  
  8. #Obrigado por Baixar :)
  9.  
  10. options:
  11. #mensagens
  12. #Todas Editaveis
  13. cordonomedacontagem: &e
  14. Cordonomedomob: &f
  15.  
  16. #Não mexe nessa merda ;==;
  17.  
  18. on death:
  19. if victim is rabbit:
  20. if {rabbit.%victim%} is greater than or equal to 2:
  21. reduce {rabbit.%victim%} by 2
  22. wait 1 tick
  23. spawn 1 rabbit at victim
  24. wait 1 tick
  25. set {name} to "%{rabbit.%victim%}%"
  26. set the name of the spawned rabbit to "{@Cordonomedomob}Coelho {@cordonomedacontagem}x%{name}%"
  27. if victim is blaze:
  28. if {blaze.%victim%} is greater than or equal to 2:
  29. reduce {blaze.%victim%} by 2
  30. wait 1 tick
  31. spawn 1 blaze at victim
  32. wait 1 tick
  33. set {name} to "%{blaze.%victim%}%"
  34. set the name of the spawned blaze to "{@Cordonomedomob}Blaze {@cordonomedacontagem}x%{name}%"
  35. if victim is endermite:
  36. if {endermite.%victim%} is greater than or equal to 2:
  37. reduce {endermite.%victim%} by 2
  38. wait 1 tick
  39. spawn 1 endermite at victim
  40. wait 1 tick
  41. set {name} to "%{endermite.%victim%}%"
  42. set the name of the spawned endermite to "{@Cordonomedomob}Endermite {@cordonomedacontagem}x%{name}%"
  43. if victim is slime:
  44. if {slime.%victim%} is greater than or equal to 2:
  45. reduce {slime.%victim%} by 2
  46. wait 1 tick
  47. spawn 1 slime at victim
  48. wait 1 tick
  49. set {name} to "%{slime.%victim%}%"
  50. set the name of the spawned slime to "{@Cordonomedomob}Slime {@cordonomedacontagem}x%{name}%"
  51. if victim is ghast:
  52. if {ghast.%victim%} is greater than or equal to 2:
  53. reduce {ghast.%victim%} by 2
  54. wait 1 tick
  55. spawn 1 ghast at victim
  56. wait 1 tick
  57. set {name} to "%{ghast.%victim%}%"
  58. set the name of the spawned ghast to "{@Cordonomedomob}Ghast {@cordonomedacontagem}x%{name}%"
  59. if victim is ocelot:
  60. if {ocelot.%victim%} is greater than or equal to 2:
  61. reduce {ocelot.%victim%} by 2
  62. wait 1 tick
  63. spawn 1 ocelot at victim
  64. wait 1 tick
  65. set {name} to "%{ocelot.%victim%}%"
  66. set the name of the spawned ocelot to "{@Cordonomedomob}Ocelot {@cordonomedacontagem}x%{name}%"
  67. if victim is guardian:
  68. if {guardian.%victim%} is greater than or equal to 2:
  69. reduce {guardian.%victim%} by 2
  70. wait 1 tick
  71. spawn 1 guardian at victim
  72. wait 1 tick
  73. set {name} to "%{guardian.%victim%}%"
  74. set the name of the spawned guardian to "{@Cordonomedomob}Guardian {@cordonomedacontagem}x%{name}%"
  75. if victim is silverfish:
  76. if {silverfish.%victim%} is greater than or equal to 2:
  77. reduce {silverfish.%victim%} by 2
  78. wait 1 tick
  79. spawn 1 silverfish at victim
  80. wait 1 tick
  81. set {name} to "%{silverfish.%victim%}%"
  82. set the name of the spawned silverfish to "{@Cordonomedomob}Silver Fish {@cordonomedacontagem}x%{name}%"
  83. if victim is creeper:
  84. if {creeper.%victim%} is greater than or equal to 2:
  85. reduce {creeper.%victim%} by 2
  86. wait 1 tick
  87. spawn 1 creeper at victim
  88. wait 1 tick
  89. set {name} to "%{enderman.%victim%}%"
  90. set the name of the spawned creeper to "{@Cordonomedomob}Creeper {@cordonomedacontagem}x%{name}%"
  91. if victim is skeleton:
  92. if {skeleton.%victim%} is greater than or equal to 2:
  93. reduce {skeleton.%victim%} by 2
  94. wait 1 tick
  95. spawn 1 skeleton at victim
  96. wait 1 tick
  97. set {name} to "%{skeleton.%victim%}%"
  98. set the name of the spawned skeleton to "{@Cordonomedomob}Esqueleto {@cordonomedacontagem}x%{name}%"
  99. if victim is horse:
  100. if {horse.%victim%} is greater than or equal to 2:
  101. reduce {horse.%victim%} by 2
  102. wait 1 tick
  103. spawn 1 horse at victim
  104. wait 1 tick
  105. set {name} to "%{horse.%victim%}%"
  106. set the name of the spawned horse to "{@Cordonomedomob}Cavalo {@cordonomedacontagem}x%{name}%"
  107. if victim is witch:
  108. if {witch.%victim%} is greater than or equal to 2:
  109. reduce {witch.%victim%} by 2
  110. wait 1 tick
  111. spawn 1 witch at victim
  112. wait 1 tick
  113. set {name} to "%{witch.%victim%}%"
  114. set the name of the spawned witch to "{@Cordonomedomob}Bruxa {@cordonomedacontagem}x%{name}%"
  115. if victim is enderman:
  116. if {enderman.%victim%} is greater than or equal to 2:
  117. reduce {enderman.%victim%} by 2
  118. wait 1 tick
  119. spawn 1 enderman at victim
  120. wait 1 tick
  121. set {name} to "%{enderman.%victim%}%"
  122. set the name of the spawned enderman to "{@Cordonomedomob}Enderman {@cordonomedacontagem}x%{name}%"
  123. if {chicken.%victim%} is greater than or equal to 2:
  124. reduce {chicken.%victim%} by 2
  125. wait 1 tick
  126. spawn 1 chicken at victim
  127. wait 1 tick
  128. set {name} to "%{chicken.%victim%}%"
  129. set the name of the spawned chicken to "{@Cordonomedomob}Galinha {@cordonomedacontagem}x%{name}%"
  130. if victim is spider:
  131. if {spider.%victim%} is greater than or equal to 2:
  132. reduce {spider.%victim%} by 2
  133. wait 1 tick
  134. spawn 1 spider at victim
  135. wait 1 tick
  136. set {name} to "%{spider.%victim%}%"
  137. set the name of the spawned spider to "{@Cordonomedomob}Aranha {@cordonomedacontagem}x%{name}%"
  138. if victim is cow:
  139. if {cow.%victim%} is greater than or equal to 2:
  140. reduce {cow.%victim%} by 2
  141. wait 1 tick
  142. spawn 1 cow at victim
  143. wait 1 tick
  144. set {name} to "%{cow.%victim%}%"
  145. set the name of the spawned cow to "{@Cordonomedomob}Vaca {@cordonomedacontagem}x%{name}%"
  146. if victim is pig:
  147. if {pig.%victim%} is greater than or equal to 2:
  148. reduce {pig.%victim%} by 2
  149. wait 1 tick
  150. spawn 1 pig at victim
  151. wait 1 tick
  152. set {name} to "%{pig.%victim%}%"
  153. set the name of the spawned pig to "{@Cordonomedomob}Porco {@cordonomedacontagem}x%{name}%"
  154. if victim is Sheep:
  155. if {Sheep.%victim%} is greater than or equal to 2:
  156. reduce {Sheep.%victim%} by 2
  157. wait 1 tick
  158. spawn 1 Sheep at victim
  159. wait 1 tick
  160. set {name} to "%{Sheep.%victim%}%"
  161. set the name of the spawned Sheep to "{@Cordonomedomob}Ovelha {@cordonomedacontagem}x%{name}%"
  162. if victim is Zombie:
  163. if {Zombie.%victim%} is greater than or equal to 2:
  164. reduce {Zombie.%victim%} by 2
  165. wait 1 tick
  166. spawn 1 Zombie at victim
  167. wait 1 tick
  168. set {name} to "%{Zombie.%victim%}%"
  169. set the name of the spawned Zombie to "{@Cordonomedomob}Zombie {@cordonomedacontagem}x%{name}%"
  170. if victim is squid:
  171. if {squid.%victim%} is greater than or equal to 2:
  172. reduce {squid.%victim%} by 2
  173. wait 1 tick
  174. spawn 1 squid at victim
  175. wait 1 tick
  176. set {name} to "%{squid.%victim%}%"
  177. set the name of the spawned squid to "{@Cordonomedomob}Squid {@cordonomedacontagem}x%{name}%"
  178. if victim is mooshroom:
  179. if {mooshroom.%victim%} is greater than or equal to 2:
  180. reduce {mooshroom.%victim%} by 2
  181. wait 1 tick
  182. spawn 1 mooshroom at victim
  183. wait 1 tick
  184. set {name} to "%{mooshroom.%victim%}%"
  185. set the name of the spawned mooshroom to "{@Cordonomedomob}MooshRoom {@cordonomedacontagem}x%{name}%"
  186. on death:
  187. if victim is a blaze:
  188. if attacker is a player:
  189. if {blaze.%victim%} is greater than or equal to 2:
  190. reduce {blaze.%victim%} by 1
  191. if victim is a mooshroom:
  192. if attacker is a player:
  193. if {mooshroom.%victim%} is greater than or equal to 2:
  194. reduce {mooshroom.%victim%} by 1
  195. if victim is a skeleton:
  196. if attacker is a player:
  197. if {skeleton.%victim%} is greater than or equal to 2:
  198. reduce {skeleton.%victim%} by 1
  199. if victim is a creeper:
  200. if attacker is a player:
  201. if {creeper.%victim%} is greater than or equal to 2:
  202. reduce {creeper.%victim%} by 1
  203. if victim is a squid:
  204. if attacker is a player:
  205. if {squid.%victim%} is greater than or equal to 2:
  206. reduce {squid.%victim%} by 1
  207. if victim is a horse:
  208. if attacker is a player:
  209. if {horse.%victim%} is greater than or equal to 2:
  210. reduce {horse.%victim%} by 1
  211. if victim is a rabbit:
  212. if attacker is a player:
  213. if {rabbit.%victim%} is greater than or equal to 2:
  214. reduce {rabbit.%victim%} by 1
  215. if victim is a ocelot:
  216. if attacker is a player:
  217. if {ocelot.%victim%} is greater than or equal to 2:
  218. reduce {ocelot.%victim%} by 1
  219. if victim is a silverfish:
  220. if attacker is a player:
  221. if {silverfish.%victim%} is greater than or equal to 2:
  222. reduce {silverfish.%victim%} by 1
  223. if victim is a guardian:
  224. if attacker is a player:
  225. if {guardian.%victim%} is greater than or equal to 2:
  226. reduce {guardian.%victim%} by 1
  227. if victim is a endermite:
  228. if attacker is a player:
  229. if {endermite.%victim%} is greater than or equal to 2:
  230. reduce {endermite.%victim%} by 1
  231. if victim is a slime:
  232. if attacker is a player:
  233. if {slime.%victim%} is greater than or equal to 2:
  234. reduce {slime.%victim%} by 1
  235. if victim is a witch:
  236. if attacker is a player:
  237. if {witch.%victim%} is greater than or equal to 2:
  238. reduce {witch.%victim%} by 1
  239. if victim is a ghast:
  240. if attacker is a player:
  241. if {ghast.%victim%} is greater than or equal to 2:
  242. reduce {ghast.%victim%} by 1
  243. if victim is a enderman:
  244. if attacker is a player:
  245. if {enderman.%victim%} is greater than or equal to 2:
  246. reduce {enderman.%victim%} by 1
  247. if victim is a chicken:
  248. if attacker is a player:
  249. if {chicken.%victim%} is greater than or equal to 2:
  250. reduce {chicken.%victim%} by 1
  251. if victim is a spider:
  252. if attacker is a player:
  253. if {spider.%victim%} is greater than or equal to 2:
  254. reduce {spider.%victim%} by 1
  255. if victim is a cow:
  256. if attacker is a player:
  257. if {cow.%victim%} is greater than or equal to 2:
  258. reduce {cow.%victim%} by 1
  259. if victim is a pig:
  260. if attacker is a player:
  261. if {pig.%victim%} is greater than or equal to 2:
  262. reduce {pig.%victim%} by 1
  263. if victim is a Sheep:
  264. if attacker is a player:
  265. if {Sheep.%victim%} is greater than or equal to 2:
  266. reduce {Sheep.%victim%} by 1
  267. if victim is a Zombie:
  268. if attacker is a player:
  269. if {Zombie.%victim%} is greater than or equal to 2:
  270. reduce {Zombie.%victim%} by 1
  271.  
  272. on spawn of endermite:
  273. loop all entities in radius 10 around the event-entity:
  274. if loop-entity is a endermite:
  275. add 1 to {entity.%event-entity%}
  276. if {entity.%event-entity%} is greater than 1:
  277. delete event-entity
  278. if {entity.%event-entity%} is 1:
  279. add 1 to {endermite.%loop-entity%}
  280. set {endermite.%event-entity%} to "%{endermite.%loop-entity%}%" parsed as integer
  281. set the name of the event-entity to "{@Cordonomedomob}Endermite {@cordonomedacontagem}x%{endermite.%event-entity%}%"
  282. delete loop-entity
  283. on spawn of guardian:
  284. loop all entities in radius 10 around the event-entity:
  285. if loop-entity is a guardian:
  286. add 1 to {entity.%event-entity%}
  287. if {entity.%event-entity%} is greater than 1:
  288. delete event-entity
  289. if {entity.%event-entity%} is 1:
  290. add 1 to {guardian.%loop-entity%}
  291. set {guardian.%event-entity%} to "%{guardian.%loop-entity%}%" parsed as integer
  292. set the name of the event-entity to "{@Cordonomedomob}Guardian {@cordonomedacontagem}x%{guardian.%event-entity%}%"
  293. delete loop-entity
  294. on spawn of rabbit:
  295. loop all entities in radius 10 around the event-entity:
  296. if loop-entity is a rabbit:
  297. add 1 to {entity.%event-entity%}
  298. if {entity.%event-entity%} is greater than 1:
  299. delete event-entity
  300. if {entity.%event-entity%} is 1:
  301. add 1 to {rabbit.%loop-entity%}
  302. set {rabbit.%event-entity%} to "%{rabbit.%loop-entity%}%" parsed as integer
  303. set the name of the event-entity to "{@Cordonomedomob}Coelho {@cordonomedacontagem}x%{rabbit.%event-entity%}%"
  304. delete loop-entity
  305. on spawn of ocelot:
  306. loop all entities in radius 10 around the event-entity:
  307. if loop-entity is a ocelot:
  308. add 1 to {entity.%event-entity%}
  309. if {entity.%event-entity%} is greater than 1:
  310. delete event-entity
  311. if {entity.%event-entity%} is 1:
  312. add 1 to {ocelot.%loop-entity%}
  313. set {ocelot.%event-entity%} to "%{ocelot.%loop-entity%}%" parsed as integer
  314. set the name of the event-entity to "{@Cordonomedomob}Ocelot {@cordonomedacontagem}x%{ocelot.%event-entity%}%"
  315. delete loop-entity
  316. on spawn of horse:
  317. loop all entities in radius 10 around the event-entity:
  318. if loop-entity is a horse:
  319. add 1 to {entity.%event-entity%}
  320. if {entity.%event-entity%} is greater than 1:
  321. delete event-entity
  322. if {entity.%event-entity%} is 1:
  323. add 1 to {horse.%loop-entity%}
  324. set {horse.%event-entity%} to "%{horse.%loop-entity%}%" parsed as integer
  325. set the name of the event-entity to "{@Cordonomedomob}Cavalo {@cordonomedacontagem}x%{horse.%event-entity%}%"
  326. delete loop-entity
  327. on spawn of squid:
  328. loop all entities in radius 10 around the event-entity:
  329. if loop-entity is a squid:
  330. add 1 to {entity.%event-entity%}
  331. if {entity.%event-entity%} is greater than 1:
  332. delete event-entity
  333. if {entity.%event-entity%} is 1:
  334. add 1 to {squid.%loop-entity%}
  335. set {squid.%event-entity%} to "%{squid.%loop-entity%}%" parsed as integer
  336. set the name of the event-entity to "{@Cordonomedomob}Lula {@cordonomedacontagem}x%{squid.%event-entity%}%"
  337. delete loop-entity
  338. on spawn of mooshroom:
  339. loop all entities in radius 10 around the event-entity:
  340. if loop-entity is a mooshroom:
  341. add 1 to {entity.%event-entity%}
  342. if {entity.%event-entity%} is greater than 1:
  343. delete event-entity
  344. if {entity.%event-entity%} is 1:
  345. add 1 to {mooshroom.%loop-entity%}
  346. set {mooshroom.%event-entity%} to "%{mooshroom.%loop-entity%}%" parsed as integer
  347. set the name of the event-entity to "{@Cordonomedomob}MooshRoom {@cordonomedacontagem}x%{mooshroom.%event-entity%}%"
  348. delete loop-entity
  349. on spawn of silverfish:
  350. loop all entities in radius 10 around the event-entity:
  351. if loop-entity is a silverfish:
  352. add 1 to {entity.%event-entity%}
  353. if {entity.%event-entity%} is greater than 1:
  354. delete event-entity
  355. if {entity.%event-entity%} is 1:
  356. add 1 to {silverfish.%loop-entity%}
  357. set {silverfish.%event-entity%} to "%{silverfish.%loop-entity%}%" parsed as integer
  358. set the name of the event-entity to "{@Cordonomedomob}Silver Fish {@cordonomedacontagem}x%{silverfish.%event-entity%}%"
  359. delete loop-entity
  360. on spawn of ghast:
  361. loop all entities in radius 10 around the event-entity:
  362. if loop-entity is a ghast:
  363. add 1 to {entity.%event-entity%}
  364. if {entity.%event-entity%} is greater than 1:
  365. delete event-entity
  366. if {entity.%event-entity%} is 1:
  367. add 1 to {ghast.%loop-entity%}
  368. set {ghast.%event-entity%} to "%{ghast.%loop-entity%}%" parsed as integer
  369. set the name of the event-entity to "{@Cordonomedomob}Ghast {@cordonomedacontagem}x%{ghast.%event-entity%}%"
  370. delete loop-entity
  371. on spawn of slime:
  372. loop all entities in radius 10 around the event-entity:
  373. if loop-entity is a slime:
  374. add 1 to {entity.%event-entity%}
  375. if {entity.%event-entity%} is greater than 1:
  376. delete event-entity
  377. if {entity.%event-entity%} is 1:
  378. add 1 to {slime.%loop-entity%}
  379. set {slime.%event-entity%} to "%{slime.%loop-entity%}%" parsed as integer
  380. set the name of the event-entity to "{@Cordonomedomob}Slime {@cordonomedacontagem}x%{slime.%event-entity%}%"
  381. delete loop-entity
  382. on spawn of skeleton:
  383. loop all entities in radius 10 around the event-entity:
  384. if loop-entity is a skeleton:
  385. add 1 to {entity.%event-entity%}
  386. if {entity.%event-entity%} is greater than 1:
  387. delete event-entity
  388. if {entity.%event-entity%} is 1:
  389. add 1 to {skeleton.%loop-entity%}
  390. set {skeleton.%event-entity%} to "%{skeleton.%loop-entity%}%" parsed as integer
  391. set the name of the event-entity to "{@Cordonomedomob}Esqueleto {@cordonomedacontagem}x%{skeleton.%event-entity%}%"
  392. delete loop-entity
  393. on spawn of creeper:
  394. loop all entities in radius 10 around the event-entity:
  395. if loop-entity is a creeper:
  396. add 1 to {entity.%event-entity%}
  397. if {entity.%event-entity%} is greater than 1:
  398. delete event-entity
  399. if {entity.%event-entity%} is 1:
  400. add 1 to {creeper.%loop-entity%}
  401. set {creeper.%event-entity%} to "%{creeper.%loop-entity%}%" parsed as integer
  402. set the name of the event-entity to "{@Cordonomedomob}Creeper {@cordonomedacontagem}x%{creeper.%event-entity%}%"
  403. delete loop-entity
  404. on spawn of witch:
  405. loop all entities in radius 10 around the event-entity:
  406. if loop-entity is a witch:
  407. add 1 to {entity.%event-entity%}
  408. if {entity.%event-entity%} is greater than 1:
  409. delete event-entity
  410. if {entity.%event-entity%} is 1:
  411. add 1 to {witch.%loop-entity%}
  412. set {witch.%event-entity%} to "%{witch.%loop-entity%}%" parsed as integer
  413. set the name of the event-entity to "{@Cordonomedomob}Bruxa {@cordonomedacontagem}x%{witch.%event-entity%}%"
  414. delete loop-entity
  415. on spawn of blaze:
  416. loop all entities in radius 10 around the event-entity:
  417. if loop-entity is a blaze:
  418. add 1 to {entity.%event-entity%}
  419. if {entity.%event-entity%} is greater than 1:
  420. delete event-entity
  421. if {entity.%event-entity%} is 1:
  422. add 1 to {blaze.%loop-entity%}
  423. set {blaze.%event-entity%} to "%{blaze.%loop-entity%}%" parsed as integer
  424. set the name of the event-entity to "{@Cordonomedomob}Blaze {@cordonomedacontagem}x%{blaze.%event-entity%}%"
  425. delete loop-entity
  426. on spawn of enderman:
  427. loop all entities in radius 10 around the event-entity:
  428. if loop-entity is a enderman:
  429. add 1 to {entity.%event-entity%}
  430. if {entity.%event-entity%} is greater than 1:
  431. delete event-entity
  432. if {entity.%event-entity%} is 1:
  433. add 1 to {enderman.%loop-entity%}
  434. set {enderman.%event-entity%} to "%{enderman.%loop-entity%}%" parsed as integer
  435. set the name of the event-entity to "{@Cordonomedomob}Enderman {@cordonomedacontagem}x%{enderman.%event-entity%}%"
  436. on spawn of chicken:
  437. loop all entities in radius 10 around the event-entity:
  438. if loop-entity is a chicken:
  439. add 1 to {entity.%event-entity%}
  440. if {entity.%event-entity%} is greater than 1:
  441. delete event-entity
  442. if {entity.%event-entity%} is 1:
  443. add 1 to {chicken.%loop-entity%}
  444. set {chicken.%event-entity%} to "%{chicken.%loop-entity%}%" parsed as integer
  445. set the name of the event-entity to "{@Cordonomedomob}Galinha {@cordonomedacontagem}x%{chicken.%event-entity%}%"
  446. delete loop-entity
  447. on spawn of an cow:
  448. loop all entities in radius 10 around the event-entity:
  449. if loop-entity is a cow:
  450. add 1 to {entity.%event-entity%}
  451. if {entity.%event-entity%} is greater than 1:
  452. delete event-entity
  453. if {entity.%event-entity%} is 1:
  454. add 1 to {cow.%loop-entity%}
  455. set {cow.%event-entity%} to "%{cow.%loop-entity%}%" parsed as integer
  456. set the name of the event-entity to "{@Cordonomedomob}Vaca {@cordonomedacontagem}x%{cow.%event-entity%}%"
  457. delete loop-entity
  458. on spawn of spider:
  459. loop all entities in radius 10 around the event-entity:
  460. if loop-entity is a spider:
  461. add 1 to {entity.%event-entity%}
  462. if {entity.%event-entity%} is greater than 1:
  463. delete event-entity
  464. if {entity.%event-entity%} is 1:
  465. add 1 to {spider.%loop-entity%}
  466. set {spider.%event-entity%} to "%{spider.%loop-entity%}%" parsed as integer
  467. set the name of the event-entity to "{@Cordonomedomob}Aranha {@cordonomedacontagem}x%{spider.%event-entity%}%"
  468. delete loop-entity
  469. on spawn of an pig:
  470. loop all entities in radius 10 around the event-entity:
  471. if loop-entity is a pig:
  472. add 1 to {entity.%event-entity%}
  473. if {entity.%event-entity%} is greater than 1:
  474. delete event-entity
  475. if {entity.%event-entity%} is 1:
  476. add 1 to {pig.%loop-entity%}
  477. set {pig.%event-entity%} to "%{pig.%loop-entity%}%" parsed as integer
  478. set the name of the event-entity to "{@Cordonomedomob}Porco {@cordonomedacontagem}x%{pig.%event-entity%}%"
  479. delete loop-entity
  480. on spawn of an Zombie:
  481. loop all entities in radius 10 around the event-entity:
  482. if loop-entity is a Zombie:
  483. add 1 to {entity.%event-entity%}
  484. if {entity.%event-entity%} is greater than 1:
  485. delete event-entity
  486. if {entity.%event-entity%} is 1:
  487. add 1 to {Zombie.%loop-entity%}
  488. set {Zombie.%event-entity%} to "%{Zombie.%loop-entity%}%" parsed as integer
  489. set the name of the event-entity to "{@Cordonomedomob}Zombie {@cordonomedacontagem}x%{Zombie.%event-entity%}%"
  490. delete loop-entity
  491. on spawn of an Sheep:
  492. loop all entities in radius 10 around the event-entity:
  493. if loop-entity is a Sheep:
  494. add 1 to {entity.%event-entity%}
  495. if {entity.%event-entity%} is greater than 1:
  496. delete event-entity
  497. if {entity.%event-entity%} is 1:
  498. add 1 to {Sheep.%loop-entity%}
  499. set {Sheep.%event-entity%} to "%{Sheep.%loop-entity%}%" parsed as integer
  500. set the name of the event-entity to "{@Cordonomedomob}Ovelha {@cordonomedacontagem}x%{Sheep.%event-entity%}%"
  501. delete loop-entity
  502.  
  503. on script load:
  504. send "&5&m----[ &7zStackMob &5&m]----" to console
  505. send "&5StackMobs: &aLIGADO" to console
  506. send "&5StackMobs &aObrigado por Baixar" to console
  507. send "&5StackMobs: &aTodos os mobs :)" to console
  508. send "&5&m----[ &7By: zJhonny v2.0 &5&m]----" to console
Advertisement
Add Comment
Please, Sign In to add comment