Advertisement
mimikolaj

murder.sk

Nov 29th, 2014
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.19 KB | None | 0 0
  1. # ██████████████████████████████████████████████████████████████████████████████████████████████████████
  2.  
  3. # █████████████████
  4. # ███████████████
  5. # ███████████████ MURDER.SK
  6. # ███████████████ V.1.0 (PL)
  7. # ███████████████
  8. # ███████████████ SKRYPT - MIMIKOLAJ
  9. # ███████████████ POMYSLY - MRCRAFTYKETCHUP
  10. # ███████████████ POMOC W EDYCJI KODU/DOPRACOWANIE KODU - TROPEREKS
  11. # ███████████████ NIE KOPIOWAC ITP.
  12. # ███████████████
  13. # █████████████████
  14.  
  15. # █████████████████
  16. # ███████████████
  17. # ███████████████ WYMAGANE PLUGINY:
  18. # ███████████████
  19. # ███████████████ SKRIPT
  20. # ███████████████ SKQUARY
  21. # ███████████████ ESSENTIALS
  22. # ███████████████ NICK (http://dev.bukkit.org/bukkit-plugins/nniicckk/)
  23. # ███████████████ TAGAPI
  24. # ███████████████ RANDOMSK
  25. # ███████████████
  26. # █████████████████
  27.  
  28. # █████████████████
  29. # ███████████████
  30. # ███████████████ CO TO JEST MURDER?
  31. # ███████████████
  32. # ███████████████ MURDER TO MINI-GRA POCHODZACA Z GRY GARRY'S MOD.
  33. # ███████████████ GRACZE DZIELA SIE NA NIEWNNYCH, JEDNEGO MORDERCE I JEDNEGO NIEWINNEGO Z BRONIA.
  34. # ███████████████ KAZDEMU GRACZOWI ZMIENIA SIE NICK I SKIN, BY UTRUDNIC GRE.
  35. # ███████████████ GLOWNYM CELEM GRY JEST:
  36. # ███████████████ • JAKO MORDERCA - ZAMORDOWANIE WSZYSTKICH GRACZY
  37. # ███████████████ • JAKO NIEWINNY - PRZEZYCIE I ZABICIE MORDERCY PISTOLETEM
  38. # ███████████████
  39. # ███████████████ MORDERCA MA OD RAZU MIECZ, KTORYM MOZNA ZABIC JEDNYM UDERZENIEM, A PRAWYM PRZYCISKIEM "RZUCIC" GO.
  40. # ███████████████ RZUCONY MIECZ REGENERUJE SIE CO 10S (MOZNA ZMIENIC).
  41. # ███████████████ TYLKO MORDERCA MOZE SPRINTOWAC I MIEC MIECZ.
  42. # ███████████████ ZA KAZDE 5 EMERALDOW MORDERCA DOSTAJE NOWY MIECZ
  43. # ███████████████
  44. # ███████████████ NIEWINNY MUSI UNIKAC SPOTKANIA Z MORDERCA I ZBIERAC EMERALDY. NIEWINNY NIE MOZE SPRINTOWAC.
  45. # ███████████████ KAZDE 5 EMERALDOW DLA NIEWINNEGO TO ULEPSZENIE:
  46. # ███████████████ • PIERWSZE 5 EMERALDOW - OTRZYMANIE BRONI (JEZELIJEJ NIE MA; 4S PRZELADOWANIE)
  47. # ███████████████ • DRUGIE 5 EMERALDOW - ULEPSZENIE BRONI (2S PRZELADOWANIE)
  48. # ███████████████ • TRZECIE 5 EMERALDOW - OSTATECZNE ULEPSZENIE BRONI (1S PRZELADOWANIE)
  49. # ███████████████ MAJAC BRON PRAWYM PRZYCISKIEM MOZE WYSTRZELIC POCISK.
  50. # ███████████████
  51. # █████████████████
  52.  
  53. # █████████████████
  54. # ███████████████
  55. # ███████████████ JAK SKONFIGUROWAC SKRYPT NA SERWERZE:
  56. # ███████████████
  57. # ███████████████ I ZBUDUJ MAPE (POLECAM JAKIES ULICZKI LUB DUZY DOM)
  58. # ███████████████ II ZBUDUJ LOBBY
  59. # ███████████████ III USTAW SPAWN LOBBY WPISUJAC KOMENDE /MLOBBY
  60. # ███████████████ IV NASTEPNIE NA TWOJEJ MAPIE USTAW 15 SPAWNOW GRACZY (KOMENDA /MSPAWN<1-15>, NP. /MSPAWN5)
  61. # ███████████████ V TRZEBA JESZCZE USTALIC POLOZENIE EMERALDOW - DODAJ MIEJSCE KOMENDA /MERALDS
  62. # ███████████████ 1. ZLE USTAWILES? USUN ZAPISANE DANE POLOZEN KOMENDA /MERALDSCLEAR
  63. # ███████████████ VI ZAPROS ZNAJOMYCH I GRAJ :D
  64. # ███████████████
  65. # █████████████████
  66.  
  67. # █████████████████
  68. # ███████████████
  69. # ███████████████ ZNANE BUGI-WOOGIE (BEDA NAPRAWIONE W NASTEPNYCH WERSJACH):
  70. # ███████████████
  71. # ███████████████ • KAZDA SNIEZKA ZABIJA (NP. NIEWINNY MOZE ZABIC NIEWINNEGO)
  72. # ███████████████ • EMERALDY ZA BARDZO SIE "SYPIA"
  73. # ███████████████ • DA SIE KLEPAC NA STARCIE (MIANOWICIE TZW "SPAWN KILL")
  74. # ███████████████ • JAK MORDERCA WYJDZIE Z GRY, NIE LOSUJE NOWEGO
  75. # ███████████████ • JAK BEDZIE MNIEJ NIZ 3 OSOBY W TRAKCIE GRY, RESZTE LUDZI ZOSTAJE NA ARENIE
  76. # ███████████████ • MOZLIWOSC SCIAGANIA ZBROI (MUSZE ZABLOKOWAC)
  77. # ███████████████
  78. # █████████████████
  79.  
  80. # █████████████████
  81. # ███████████████
  82. # ███████████████ TO-DO:
  83. # ███████████████
  84. # ███████████████ • OSIAGNIECIA
  85. # ███████████████ • STATYSTYKI
  86. # ███████████████ • BUG-FIXY
  87. # ███████████████ • KARANIE NIEWINNYCH ZA ZABIJANIE KOLEGOW
  88. # ███████████████ • "UPIEKSZYC" SKRYPT
  89. # ███████████████
  90. # █████████████████
  91.  
  92. # ██████████████████████████████████████████████████████████████████████████████████████████████████████
  93.  
  94. every tick:
  95. loop all projectiles:
  96. set {_s} to location of loop-projectile
  97. spawn 5 of particle crit offset by 0.15, 0.15, 0.15 at {_s}
  98. every 1 second:
  99. if {mstage} is 7:
  100. add -1 to {emeraldstime}
  101. if {emeraldstime} is smaller than 1:
  102. make server execute "remove all 1000"
  103. set {emeraldstime} to 90
  104. drop 1 emerald at {meralds::*}
  105. loop all players:
  106. display board named "&b&lMurder" to loop-player
  107. make score "&3&lTozsamosc:" in board of loop-player to 11
  108. make score "&a%{nickname.%loop-player%}%" in board of loop-player to 10
  109. make score "&8--------" in board of loop-player to 9
  110. make score "&3&lNiewinnych:" in board of loop-player to 8
  111. make score "&a%{niewinni}%" in board of loop-player to 7
  112. make score "&8---------" in board of loop-player to 6
  113. make score "&3&lWygrane:" in board of loop-player to 5
  114. make score "&a%{wygrane.%loop-player%}%" in board of loop-player to 4
  115. move display of loop-player to sidebar
  116. every 1 second:
  117. if {mstage} is 7:
  118. if {murderalive} is false:
  119. make server execute "remove all 1000"
  120. loop all players:
  121. if {mingame.%loop-player%} is true:
  122. if {ingames.%loop-player%} is true:
  123. broadcast "&6[Murder] &7%loop-player% &8(Jako: %{nickname.%loop-player%}%)"
  124. broadcast "&6[Murder] &7Murderem byl: &6%{murders}% &8(Jako: %{nickname.%{murders}%}%)"
  125. set {murderalive} to true
  126. set {murders} to "---"
  127. set {niewinni} to "brak"
  128. loop all players:
  129. if {mingame.%loop-player%} is true:
  130. set {ingames.%loop-player%} to false
  131. make loop-player execute command "/nick %loop-player%"
  132. set {nickname.%loop-player%} to "nikt"
  133. set food bar of loop-player to 10
  134. clear loop-player's inventory
  135. teleport the loop-player to {mlobby}
  136. if loop-player is {bysguns}:
  137. set {bysguns} to false
  138. set {niewinny.%loop-player%} to false
  139. add 1 to {wygrane.%loop-player%}
  140. if {niewinny.%loop-player%} is true:
  141. set {bysguns} to false
  142. set {niewinny.%loop-player%} to false
  143. add 1 to {wygrane.%loop-player%}
  144. broadcast "&6[Murder] &6Niewinni &7wygrali!"
  145. set {mstage} to 0
  146. else if {niewinni} is smaller than 1:
  147. make server execute "remove all 1000"
  148. loop all players:
  149. if {mingame.%loop-player%} is true:
  150. if {ingames.%loop-player%} is true:
  151. broadcast "&6[Murder] &7%loop-player% &8(Jako: %{nickname.%loop-player%}%)"
  152. broadcast "&6[Murder] &7Murderem byl: &6%{murders}% &8(Jako: %{nickname.%{murders}%}%)"
  153. set {murderalive} to true
  154. set {bysguns} to false
  155. set {niewinni} to "brak"
  156. loop all players:
  157. if {mingame.%loop-player%} is true:
  158. set {ingames.%loop-player%} to false
  159. make loop-player execute command "/nick %loop-player%"
  160. set {nickname.%loop-player%} to "nikt"
  161. clear loop-player's inventory
  162. set food bar of loop-player to 10
  163. teleport the loop-player to {mlobby}
  164. set {niewinny.%loop-player%} to false
  165. if loop-player is {murders}:
  166. set {murders} to "---"
  167. add 1 to {wygrane.%loop-player%}
  168. broadcast "&6[Murder] &6Morderca &7wygral!"
  169. set {mstage} to 0
  170. if {mplayers} is smaller than 3:
  171. set {mstage} to 0
  172. else if {mplayers} is more than 2:
  173. if {mstage} is 0:
  174. set {mstage} to 1
  175. broadcast "&6[Murder] &7Gra rozpocznie sie za 30 sekund!"
  176. wait 10 seconds
  177. if {mstage} is 1:
  178. set {mstage} to 2
  179. broadcast "&6[Murder] &7Gra rozpocznie sie za 20 sekund!"
  180. wait 10 seconds
  181. if {mstage} is 2:
  182. set {mstage} to 3
  183. broadcast "&6[Murder] &7Gra rozpocznie sie za 10 sekund!"
  184. wait 7 seconds
  185. if {mstage} is 3:
  186. set {mstage} to 4
  187. broadcast "&6[Murder] &7Gra rozpocznie sie za 3 sekund!"
  188. wait 1 second
  189. if {mstage} is 4:
  190. set {mstage} to 5
  191. broadcast "&6[Murder] &7Gra rozpocznie sie za 2 sekundy!"
  192. wait 1 second
  193. if {mstage} is 5:
  194. set {mstage} to 6
  195. broadcast "&6[Murder] &7Gra rozpocznie sie za 1 sekunde!"
  196. wait 1 second
  197. if {mstage} is 6:
  198. set {emeraldstime} to 90
  199. drop 1 emerald at {meralds::*}
  200. set {niewinni} to 0
  201. clear {murderlist::*}
  202. clear {heads::*}
  203. wait 2 ticks
  204. add "kevinkool" to {heads::*}
  205. add "hypixel" to {heads::*}
  206. add "notch" to {heads::*}
  207. add "deadmau5" to {heads::*}
  208. add "Sethbling" to {heads::*}
  209. add "Dinnerbone" to {heads::*}
  210. add "JJayJoker" to {heads::*}
  211. add "groopo" to {heads::*}
  212. add "PolskiPingwin" to {heads::*}
  213. add "skkf" to {heads::*}
  214. add "goskay" to {heads::*}
  215. add "CaptainSparklez" to {heads::*}
  216. add "viv0" to {heads::*}
  217. add "Masterczulek" to {heads::*}
  218. add "supersurprise" to {heads::*}
  219. loop all players:
  220. if {mingame.%loop-player%} is true:
  221. heal loop-player
  222. add loop-player to {murderlist::*}
  223. add loop-player to {heads::*}
  224. clear loop-player's inventory
  225. set {murders} to random element of {murderlist::*}
  226. send "&6[Murder] Jestes &4Morderca&7!" to {murders}
  227. set {_head} to random element of {heads::*}
  228. set {nickname.%{murders}%} to {_head}
  229. make {murders} execute command "/nick %{_head}%"
  230. remove {_head} from {heads::*}
  231. equip {murders} with leather tunic
  232. equip {murders} with leather pants
  233. equip {murders} with leather boots
  234. apply slow 250 to {murders} for 4 seconds
  235. apply jump 250 to {murders} for 4 seconds
  236. apply blindness to {murders} for 4 seconds
  237. apply night vision to {murders} for 4 seconds
  238. remove {murders} from {murderlist::*}
  239. wait 3 ticks
  240. set {bysguns} to random element of {murderlist::*}
  241. send "&6[Murder] Jestes &aNiewinnym z bronia&7!" to {bysguns}
  242. set {_head} to random element of {heads::*}
  243. set {nickname.%{bysguns}%} to {_head}
  244. make {bysguns} execute command "/nick %{_head}%"
  245. remove {_head} from {heads::*}
  246. set {ingames.%{bysguns}%} to true
  247. equip {bysguns} with leather tunic
  248. equip {bysguns} with leather pants
  249. equip {bysguns} with leather boots
  250. set food bar of {bysguns} to 3
  251. apply slow 250 to {bysguns} for 4 seconds
  252. apply jump 250 to {bysguns} for 4 seconds
  253. apply blindness to {bysguns} for 4 seconds
  254. apply night vision to {bysguns} for 4 seconds
  255. add 1 to {niewinni}
  256. remove {bysguns} from {murderlist::*}
  257. teleport {murders} to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
  258. set {_murder} to location of {murders}
  259. give 1 iron sword named "&7Miecz murdera" to {murders}
  260. teleport {bysguns} to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
  261. set {_bysgun} to location of {bysguns}
  262. give 1 iron hoe named "Gun" to {bysguns}
  263. loop all players:
  264. if {mingame.%loop-player%} is true:
  265. play raw sound "mob.ghast.affectionate_scream" at location of loop-player with pitch 1 volume 3
  266. set {mshoot.%loop-player%} to false
  267. if loop-player isn't {murders}:
  268. if loop-player isn't {bysguns}:
  269. set {niewinny.%loop-player%} to true
  270. set {_head} to random element of {heads::*}
  271. set {nickname.%loop-player%} to {_head}
  272. make loop-player execute command "/nick %{_head}%"
  273. remove {_head} from {heads::*}
  274. set {ingames.%loop-player%} to true
  275. equip loop-player with leather tunic
  276. equip loop-player with leather pants
  277. equip loop-player with leather boots
  278. set food bar of loop-player to 3
  279. apply slow 250 to loop-player for 4 seconds
  280. apply jump 250 to loop-player for 4 seconds
  281. apply blindness to loop-player for 4 seconds
  282. apply night vision to loop-player for 4 seconds
  283. teleport loop-player to {mspawn1} or {mspawn2} or {mspawn3} or {mspawn4} or {mspawn5} or {mspawn6} or {mspawn7} or {mspawn8} or {mspawn9} or {mspawn10} or {mspawn11} or {mspawn12} or {mspawn13} or {mspawn14} or {mspawn15}
  284. add 1 to {niewinni}
  285. send "&6[Murder] Jestes &aNiewinnym&7!" to loop-player
  286. wait 1 second
  287. set {mstage} to 7
  288. on join:
  289. set {mingame.%player%} to false
  290. if {mingame.%player%} is not set:
  291. set {mingame.%player%} to false
  292. if {wygrane.%player%} is not set:
  293. set {wygrane.%player%} to 0
  294. on quit:
  295. make player execute command "/ml"
  296. command /mbot:
  297. permission: murder.op
  298. trigger:
  299. add 1 to {mplayers}
  300. message "&6[Murder] &7Dodano bota! [%{mplayers}%/10]"
  301. command /mj:
  302. trigger:
  303. if {mingame.%player%} is false:
  304. if {mplayers} is smaller than 11:
  305. set {ingames.%player%} to false
  306. set {mingame.%player%} to true
  307. add 1 to {mplayers}
  308. broadcast "&6[Murder] &6%player% &7dolaczyl do gry! [%{mplayers}%/10]"
  309. teleport the player to {mlobby}
  310. clear player's inventory
  311. stop
  312. else if {mplayers} is bigger than 10:
  313. message "&6[Murder] &7Gra jest pelna!"
  314. stop
  315. else if {mingame.%player%} is true:
  316. message "&6[Murder] &7Jestes juz w grze!"
  317. command /ml:
  318. trigger:
  319. if {mingame.%player%} is true:
  320. set {ingames.%player%} to false
  321. set {mingame.%player%} to false
  322. make player execute command "/nick %player%"
  323. add -1 to {mplayers}
  324. set food bar of player to 10
  325. broadcast "&6[Murder] &6%player% &7wyszedl z gry! [%{mplayers}%/10]"
  326. make player execute command "/spawn"
  327. clear player's inventory
  328. set {murder.%player%} to false
  329. set {bysgun.%player%} to false
  330. if {niewinny.%player%} is true:
  331. set {niewinny.%player%} to false
  332. add -1 to {niewinni}
  333. else if {mingame.%player%} is false:
  334. message "&6[Murder] &7Nie jestes w grze!"
  335. command /mspawn [<text>]:
  336. permission: murder.op
  337. trigger:
  338. if arg 1 is "1":
  339. set {mspawn1} to location of player
  340. message "&6[Murder] &7Ustawiono spawn 1"
  341. else if arg 1 is "2":
  342. set {mspawn2} to location of player
  343. message "&6[Murder] &7Ustawiono spawn 2"
  344. else if arg 1 is "3":
  345. set {mspawn3} to location of player
  346. message "&6[Murder] &7Ustawiono spawn 3"
  347. else if arg 1 is "4":
  348. set {mspawn4} to location of player
  349. message "&6[Murder] &7Ustawiono spawn 4"
  350. else if arg 1 is "5":
  351. set {mspawn5} to location of player
  352. message "&6[Murder] &7Ustawiono spawn 5"
  353. else if arg 1 is "6":
  354. set {mspawn6} to location of player
  355. message "&6[Murder] &7Ustawiono spawn 6"
  356. else if arg 1 is "7":
  357. set {mspawn7} to location of player
  358. message "&6[Murder] &7Ustawiono spawn 7"
  359. else if arg 1 is "8":
  360. set {mspawn8} to location of player
  361. message "&6[Murder] &7Ustawiono spawn 8"
  362. else if arg 1 is "9":
  363. set {mspawn9} to location of player
  364. message "&6[Murder] &7Ustawiono spawn 9"
  365. else if arg 1 is "10":
  366. set {mspawn10} to location of player
  367. message "&6[Murder] &7Ustawiono spawn 10"
  368. else if arg 1 is "11":
  369. set {mspawn11} to location of player
  370. message "&6[Murder] &7Ustawiono spawn 11"
  371. else if arg 1 is "12":
  372. set {mspawn12} to location of player
  373. message "&6[Murder] &7Ustawiono spawn 12"
  374. else if arg 1 is "13":
  375. set {mspawn13} to location of player
  376. message "&6[Murder] &7Ustawiono spawn 13"
  377. else if arg 1 is "14":
  378. set {mspawn14} to location of player
  379. message "&6[Murder] &7Ustawiono spawn 14"
  380. else if arg 1 is "15":
  381. set {mspawn15} to location of player
  382. message "&6[Murder] &7Ustawiono spawn 15"
  383. else if arg 1 is set:
  384. message "&6[Murder] &7Poprawne uzycie komendy /mspawn <1-15>"
  385. else if arg 1 is not set:
  386. message "&6[Murder] &7Poprawne uzycie komendy /mspawn <1-15>"
  387. command /mlobby:
  388. permission: murder.op
  389. trigger:
  390. set {mlobby} to location of player
  391. command /meralds:
  392. permission: murder.op
  393. trigger:
  394. add location of player to {meralds::*}
  395. command /meraldsclear:
  396. permission: murder.op
  397. trigger:
  398. clear {meralds::*}
  399. command /murderreload:
  400. permission: murder.op
  401. trigger:
  402. set {mplayers} to 0
  403. on rightclick with snowball:
  404. if {mstage} is 7:
  405. cancel event
  406. on pick up of iron hoe:
  407. if player is {murders}:
  408. cancel event
  409. else if player has 1 iron hoe:
  410. cancel event
  411. on rightclick with iron hoe:
  412. if {mstage} is 7:
  413. if name of player's tool is "Gun":
  414. if {mshoot.%player%} is false:
  415. set {mshoot.%player%} to true
  416. play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
  417. shoot a snowball at speed 2
  418. set player's level progress to 0.99
  419. wait 1 second
  420. set player's level progress to 0.75
  421. wait 1 second
  422. set player's level progress to 0.50
  423. wait 1 second
  424. set player's level progress to 0.25
  425. wait 1 second
  426. set player's level progress to 0
  427. set {mshoot.%player%} to false
  428. else if name of player's tool is "Machine Gun":
  429. if {mshoot.%player%} is false:
  430. set {mshoot.%player%} to true
  431. play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
  432. shoot a snowball at speed 2
  433. set player's level progress to 0.99
  434. wait 1 second
  435. set player's level progress to 0.50
  436. wait 1 second
  437. set player's level progress to 0
  438. set {mshoot.%player%} to false
  439. else if name of player's tool is "Minigun":
  440. if {mshoot.%player%} is false:
  441. set {mshoot.%player%} to true
  442. play raw sound "mob.creeper.death" at location of player with pitch 1 volume 3
  443. shoot a snowball at speed 2
  444. set player's level progress to 0.99
  445. wait 18 ticks
  446. set player's level progress to 0
  447. wait 2 ticks
  448. set {mshoot.%player%} to false
  449. on damage of player:
  450. if {mstage} is 7:
  451. if projectile is snowball:
  452. kill victim
  453. else if attacker's tool is iron sword:
  454. if name of attacker's tool is "&7Miecz murdera":
  455. kill victim
  456. else:
  457. cancel event
  458. on damage:
  459. if {mstage} is smaller than 7:
  460. if victim is player:
  461. if {mingame.%victim%} is true:
  462. cancel event
  463. on death of player:
  464. if {mstage} is 7:
  465. set {_s} to location of player
  466. wait 1 tick
  467. if player has 1 iron hoe:
  468. drop 1 iron hoe named "Gun" at {_s}
  469. if player is {murders}:
  470. set {murderalive} to false
  471. clear player's inventory
  472. teleport the player to {mlobby}
  473. else if {niewinny.%player%} is true:
  474. set {niewinny.%player%} to false
  475. add -1 to {niewinni}
  476. clear player's inventory
  477. teleport the player to {mlobby}
  478. else if player is {bysguns}:
  479. set {bysguns} to false
  480. add -1 to {niewinni}
  481. clear player's inventory
  482. teleport the player to {mlobby}
  483. force respawn player
  484. make player execute command "/nick %player%"
  485. on respawn:
  486. if {mingame.%player%} is true:
  487. teleport the player to {mlobby}
  488. on rightclick with iron sword:
  489. if {mingame.%player%} is true:
  490. if name of player's tool is "&7Miecz murdera":
  491. play raw sound "mob.ghast.charge" at location of player with pitch 2 volume 3
  492. shoot a snowball at speed 2
  493. remove 1 iron sword from player
  494. wait 10 seconds
  495. if {mstage} is 7:
  496. if player is {murders}:
  497. give 1 iron sword named "&7Miecz murdera" to player
  498. on drop:
  499. if {mingame.%player%} is true:
  500. cancel event
  501. on pick up of emerald:
  502. if {mingame.%player%} is true:
  503. if player has 4 emeralds:
  504. if player is {murders}:
  505. wait 1 tick
  506. remove 5 emeralds from player's inventory
  507. send "&6[Murder] &7Otrzymales miecz!" to player
  508. give 1 iron sword named "&7Miecz murdera" to player
  509. else if player is {bysguns}:
  510. if player has 1 iron hoe named "Gun":
  511. wait 1 tick
  512. remove 5 emeralds from player's inventory
  513. send "&6[Murder] &7Ulepszyles bron!" to player
  514. remove 1 iron hoe from player
  515. give 1 iron hoe named "Machine Gun" to player
  516. else if player has 1 iron hoe named "Machine Gun":
  517. wait 1 tick
  518. remove 5 emeralds from player's inventory
  519. send "&6[Murder] &7Ulepszyles bron!" to player
  520. remove 1 iron hoe from player
  521. give 1 iron hoe named "Minigun" to player
  522. else if player doesn't have iron hoe:
  523. wait 1 tick
  524. remove 5 emeralds from player's inventory
  525. send "&6[Murder] &7Otrzymales bron!" to player
  526. give 1 iron hoe named "Gun" to player
  527. else if {niewinny.%player%} is true:
  528. if player has 1 iron hoe named "Gun":
  529. wait 1 tick
  530. remove 5 emeralds from player's inventory
  531. send "&6[Murder] &7Ulepszyles bron!" to player
  532. remove 1 iron hoe from player
  533. give 1 iron hoe named "Machine Gun" to player
  534. else if player has 1 iron hoe named "Machine Gun":
  535. wait 1 tick
  536. remove 5 emeralds from player's inventory
  537. send "&6[Murder] &7Ulepszyles bron!" to player
  538. remove 1 iron hoe from player
  539. give 1 iron hoe named "Minigun" to player
  540. else if player doesn't have iron hoe:
  541. wait 1 tick
  542. remove 5 emeralds from player's inventory
  543. send "&6[Murder] &7Otrzymales bron!" to player
  544. give 1 iron hoe named "Gun" to player
  545.  
  546. # ██████████████████████████████████████████████████████████████████████████████████████████████████████
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement