rafi789

FantasyCraft

May 15th, 2015
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. on script load:
  2. register new shapeless recipe for 15 nether star named "&4Striker &6Lighting" using emerald, emerald, emerald, nether star, diamond, nether star, emerald, emerald, emerald
  3. register new shapeless recipe for diamond named "&aJumper" using ender pearl, ender pearl, ender pearl, ender pearl, diamond, ender pearl, ender pearl, ender pearl, ender pearl
  4. register new shapeless recipe for 5 snowball named "&bExplo &aSnieg" using 2 tnt, 2 tnt, 2 tnt, 2 tnt, snowball, 2 tnt, 2 tnt, 2 tnt, 2 tnt
  5.  
  6. variables:
  7. {legenda.%player%} = 15
  8. {patricle.%player%} = false
  9. {lp.%player%} = false
  10. {lp2.%player%} = false
  11. {strzelenie.%player%} = false
  12.  
  13.  
  14.  
  15. on rightclick holding a nether star:
  16. if name of player's tool is "&4Striker &6Lighting":
  17. remove 1 nether star named "&4Striker &6Lighting" from player
  18. set {_center} to location of the player
  19. strike lightning 2 meter north of {_center}
  20. strike lightning 3 meter north of {_center}
  21. strike lightning 2 meter west of {_center}
  22. strike lightning 3 meter west of {_center}
  23. strike lightning 2 meter east of {_center}
  24. strike lightning 3 meter east of {_center}
  25. strike lightning 2 meter south of {_center}
  26. strike lightning 3 meter south of {_center}
  27. strike lightning 2 meter north west of {_center}
  28. strike lightning 2 meter north east of {_center}
  29. strike lightning 2 meter south west of {_center}
  30. strike lightning 2 meter south east of {_center}
  31.  
  32. on rightclick holding a diamond:
  33. if name of player's tool is "&aJumper":
  34. shoot a ender pearl with speed 0.2
  35. spawn 120 of particle happy villager offset by 1, 1, 1 at location of player
  36.  
  37. on death of ender dragon:
  38. if attacker is a player:
  39. drop 1 stick named "&aDragon&bBall" with lore "Zawiera Mistyczna Moca Pochadzaca z szostego wymiaru" at victim
  40.  
  41. on death of creeper or zombie or skeleton or spider or cave spider or enderman or zombie pigman:
  42. if attacker is a player:
  43. chance of 20%:
  44. drop 1 paper named "&bArtefak" at victim
  45. chance of 10%:
  46. drop 1 blaze rod named "&4Arcy &bTrzon" at victim
  47. stop
  48.  
  49. on rightclick holding a blaze rod:
  50. if name of player's tool is "&4Arcy &bTrzon":
  51. player has 9 paper named "&bArtefak":
  52. player has 2 blaze rod named "&4Arcy &bTrzon":
  53. remove 9 paper named "&bArtefak" from player
  54. remove 2 blaze rod named "&4Arcy &bTrzon" from player
  55. spawn 15 of particle happy villager offset by 1, 1, 1 at location of player
  56. spawn 15 of particle explode offset by 1, 1, 1 at location of player
  57. broadcast "&a%player% &6Stworzyl &aLegende"
  58. add 1 blaze rod named "&aLegenda" to player's inventory
  59. else:
  60. send "&bTo Wymaga Artefaktu x9 i Arcy Trzonu x2 &aOtrzymasz to potowrkow" to player
  61. else:
  62. if name of player's tool is "&aLegenda":
  63. if {legenda.%player%} is less than 1:
  64. remove 1 blaze rod named "&aLegenda" from player
  65. set {legenda.%player%} to 15
  66. loop 10 times:
  67. send " " to player
  68. send "&cCzyszcze chat..." to player
  69.  
  70. else:
  71. set {_center} to location of the player
  72. set the block 2 meter north of {_center} to fire
  73. set the block 2 meter west of {_center} to fire
  74. set the block 2 meter east of {_center} to fire
  75. set the block 2 meter south of {_center} to fire
  76. set the block 2 meter north west of {_center} to fire
  77. set the block 2 meter north east of {_center} to fire
  78. set the block 2 meter south west of {_center} to fire
  79. set the block 2 meter south east of {_center} to fire
  80. push the player upward at speed 2
  81. push the player horizontally forward at speed 4
  82. send "&b%{legenda.%player%}%/15" to player
  83. set {patricle.%player%} to true
  84. remove 1 from {legenda.%player%}
  85. stop
  86.  
  87.  
  88. on any move:
  89. if {patricle.%player%} is true:
  90. spawn 25 of particle happy villager offset by 3, 2, 3 at location of player
  91. spawn 25 of particle explode offset by 3, 2, 3 at location of player
  92. spawn 75 of particle flame offset by 3, 2, 3 at location of player
  93. if {lp.%player%} is true:
  94. spawn 5 of particle flame offset by 1, 1, 1 at location of player
  95.  
  96. on damage:
  97. {patricle.%victim%} is true:
  98. damage cause is fall:
  99. set {patricle.%victim%} to false
  100. cancel event
  101. on join:
  102. if {legenda.%player%} is less than 1:
  103. set {legenda.%player%} to 15
  104. if {patricle.%player%} is true:
  105. set {patricle.%player%} to false
  106.  
  107. on leftclick holding a blaze rod:
  108. if name of player's tool is "&aLegenda":
  109. if distance between the target block and player is less than 7:
  110. make the player shoot a giant with speed 0.4
  111. remove 1 blaze rod named "&aLegenda" from player
  112. broadcast "&a%player% Chce stac sie Legenda"
  113.  
  114. on death of giant:
  115. if attacker is a player:
  116. broadcast "&6Gracz %attacker% Zostaje Legenda"
  117. broadcast "&b%attacker% Otrzymuje Ogniste Particlesy"
  118. set {lp.%attacker%} to true
  119. set {lp2.%attacker%} to true
  120. drop 15 diamond at victim
  121. drop 15 iron ingot at victim
  122. drop 15 gold ingot at victim
  123. add 350 exp to attacker
  124. drop 1 ender chest named "&6PRO &bEquipment" at victim
  125. chance of 35%:
  126. drop 5 nether star named "&4Striker &6Lighting" at victim
  127. chance of 60%:
  128. drop 17 iron ore at victim
  129. drop 17 coal ore at victim
  130. drop 17 gold ore at victim
  131. chance of 30%:
  132. drop 1 stone named "&f&m---&aZomboid&f&m---" with lore "Pomocnik Gianta. - Duzy drop" at victim
  133.  
  134. stop
  135.  
  136.  
  137.  
  138. command /legenda [<text>]:
  139. aliases: /leg
  140. trigger:
  141. if arg 1 is not set:
  142. send "&bJezeli Jestes Legenda" to player
  143. send "&bA particlesy ognia ci przeszkadzaja" to player
  144. send "&bKomendy: &6/legenda on/off albo /legenda wlacz/wylacz" to player
  145. if arg 1 is "pomoc":
  146. send "&bJezeli Jestes Legenda" to player
  147. send "&bA particlesy ognia ci przeszkadzaja" to player
  148. send "&bKomendy: &6/legenda on/off albo /legenda wlacz/wylacz" to player
  149. if arg 1 is "on" or "wlacz":
  150. if {lp2.%player%} is true:
  151. if {lp.%player%} is false:
  152. set {lp.%player%} to true
  153. else:
  154. send "&cTo juz jest wlaczone"
  155.  
  156. else:
  157. send "&cNie Jestes &aLegenda" to player
  158. if arg 1 is "off" or "wylacz":
  159. if {lp2.%player%} is true:
  160. if {lp.%player%} is true:
  161. set {lp.%player%} to false
  162. else:
  163. send "&cTo juz jest wylaczone"
  164.  
  165. else:
  166. send "&cNie Jestes &aLegenda" to player
  167.  
  168. on rightclick holding a stick:
  169. if name of player's tool is "&aDragon&bBall":
  170. shoot a fireball with speed 1.5
  171. set {strzelenie.%player%} to true
  172. send "&bWykonano &6Atak Smoka" to player
  173.  
  174. on projectile hit:
  175. projectile is fireball:
  176. if {strzelenie.%shooter%} is true:
  177. set {strzelenie.%shooter%} to false
  178. loop blocks in radius 4 around the projectile:
  179. set loop-block to fire
  180. projectile is snowball:
  181. if {strzelenie.sniecha.%shooter%} is true:
  182. set {strzelenie.sniecha.%shooter%} to false
  183. create an explosion of force 3 at location of projectile
  184.  
  185.  
  186. on rightclick holding a snowball:
  187. if name of player's tool is "&bExplo &aSnieg":
  188. shoot a snowball with speed 2.5
  189. set {strzelenie.sniecha.%player%} to true
  190. remove 1 snowball named "&bExplo &aSnieg" from player
  191.  
  192. on place stone:
  193. if name of player's tool is "&f&m---&aZomboid&f&m---":
  194. cancel event
  195. remove 1 stone named "&f&m---&aZomboid&f&m---" with lore "Pomocnik Gianta. - Duzy drop" from player
  196. wait second
  197. spawn 1 zombie at location of player
  198. set helmet of spawned entity to golden helmet of unbreaking 1000 and protection 5
  199. set chestplate of spawned entity to golden chestplate of unbreaking 1000 and protection 5
  200. set leggings of spawned entity to golden leggings of unbreaking 1000 and protection 5
  201. set boots of spawned entity to golden boots of unbreaking 1000 and protection 5
  202. apply fire resistance 10 to spawned entity for 999 days
  203. apply jump boost 3 to spawned entity for 999 days
  204. apply speed 3 to spawned entity for 999 days
  205. set the last spawned entity's max health to 100
  206. heal the last spawned entity
  207. set tool of spawned entity to gold sword of unbreaking 1000 and sharpness 9
  208. set the name of spawned entity to "&aZOMBOID"
  209. stop
  210.  
  211. on death of zombie:
  212. name of victim is "&aZOMBOID":
  213. clear drops
  214. chance of 75%:
  215. drop 10 gold ingot at victim
  216. drop 10 iron ingot at victim
  217. drop 10 emerald at victim
  218. drop 10 stone at victim
  219. drop 10 cobblestone at victim
  220. drop 10 diamond at victim
  221. drop 10 coal at victim
  222. drop 10 ender pearl at victim
  223. drop 5 obsidian at victim
  224. drop 3 tnt at victim
  225. drop 5 stick at victim
  226. drop 2 apple at victim
  227. drop 10 bread at victim
  228. drop 1 golden apple at victim
  229. chance of 30%:
  230. drop 3 Enchanted Golden Apple at victim
  231. drop 1 diamond sword of sharpness 5, fire aspect 4, knockback 4 at victim
  232. drop 5 nether star named "&4Striker &6Lighting" at victim
  233. stop
  234.  
  235. on rightclick holding a ender chest:
  236. if name of player's tool is "&6PRO &bEquipment":
  237. add 120 exp to player
  238. remove 1 ender chest named "&6PRO &bEquipment" from player
  239. chance of 60%:
  240. add 1 diamond sword of sharpness 13 to player's inventory
  241. add 1 diamond chestplate of protection 25 to player's inventory
  242. send "&aNorma" to player
  243. stop
  244. chance of 30%:
  245. add 1 iron sword of sharpness 17 to player's inventory
  246. add 1 iron chestplate of protection 30 to player's inventory
  247. send "&bMiniPro" to player
  248. stop
  249. chance of 15%:
  250. add 1 diamond sword of sharpness 13 to player's inventory
  251. add 1 iron chestplate of protection 30 to player's inventory
  252. add 1 Golden Leggings of protection 50 to player's inventory
  253. add 1 Leather Boots of protection 15 to player's inventory
  254. send "&bMega &a&kaaa &6PRO &a&kaaa" to player
  255.  
  256. on place ender chest:
  257. if name of player's tool is "&6PRO &bEquipment":
  258. cancel event
Advertisement
Add Comment
Please, Sign In to add comment