fapeqTM

Untitled

Mar 14th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.05 KB | None | 0 0
  1. #
  2. # Autorski Skrypt by fapeqTM
  3. #
  4.  
  5. on join:
  6. if {%player%.lvl} is not set:
  7. set {%player%.lvl} to 0
  8. if {%player%.exp} is not set:
  9. set {%player%.exp} to 0
  10. if {wykopany.stone.%player%} is not set:
  11. set {wykopany.stone.%player%} to 0
  12.  
  13.  
  14. on mine of stone:
  15. add 1 to {%player%.exp}
  16. add 1 to {wykopany.stone.%player%}
  17. if {%player%.lvl} is 20 or 30 or 40 or 50 or 60 or 70 or 80 or 90 or 100:
  18. broadcast "&8» &aGratulacje! Gracz &6%player% &aawansowal na &6%{%player%.lvl}% &apoziom&7."
  19. stop
  20. command /sklep:
  21. trigger:
  22. open chest with 4 rows named "&2&lSKLEP ZA LVL" to player
  23. format slot 0 of player with 1 267 named "&4&lMIECZ 5/2" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep m1"]
  24. format slot 1 of player with 1 283 named "&4&lMIECZ 6/2" with lore "&7Koszt to: &635 lvl" to close then run [execute player command "/fsklep m2"]
  25. format slot 2 of player with 1 276 named "&4&lMIECZ 8/3" with lore "&7Koszt to: &655 lvl" to close then run [execute player command "/fsklep m3"]
  26. format slot 3 of player with 1 267 named "&4&lKNOCK 2" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep m4"]
  27. format slot 4 of player with 1 283 named "&4&lKNOCK 3" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep m5"]
  28. format slot 5 of player with 1 276 named "&4&lKNOCK 5" with lore "&7Koszt to: &655 lvl" to close then run [execute player command "/fsklep m6"]
  29. format slot 8 of player with 1 340 named "&4&lTWOJ LVL:" with lore "&7LvL: &6%{player.lvl}%" to close
  30. format slot 9 of player with 1 iron pickaxe named "&4&LKILOF 5/3/3" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep k1"]
  31. format slot 10 of player with 1 gold pickaxe named "&4&LKILOF 6/3/3" with lore "&7Koszt to: &635 lvl" to close then run [execute player command "/fsklep k2"]
  32. format slot 11 of player with 1 diamond pickaxe named "&4&LKILOF 7/4/4" with lore "&7Koszt to: &655 lvl" to close then run [execute player command "/fsklep k3"]
  33. format slot 12 of player with 1 iron helmet named "&4&lSET 4/1" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep z1"]
  34. format slot 13 of player with 1 golden helmet named "&4&lSET 4/3" with lore "&7Koszt to: &635 lvl" to close then run [execute player command "/fsklep z2"]
  35. format slot 17 of player with 1 paper named "&4&lTWOJ EXP:" with lore "&7Exp: &6%{player.exp}%&7/&6750" to close
  36. format slot 14 of player with 1 diamond helmet named "&4&lSET 5/3" with lore "&7Koszt to: &655 lvl" to close then run [execute player command "/fsklep z3"]
  37. format slot 18 of player with 1 enchanted golden apple named "&4&l10 KOX" with lore "&7Koszt to: &615 lvl" to close then run [execute player command "/fsklep d1"]
  38. format slot 19 of player with 1 enchanted golden apple named "&4&l32 KOX" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep d2"]
  39. format slot 20 of player with 1 enchanted golden apple named "&4&l64 KOX" with lore "&7Koszt to: &635 lvl" to close then run [execute player command "/fsklep d3"]
  40. format slot 21 of player with 1 gold ingot named "&4&lVIP" with lore "&7Koszt to: &6100 lvl" to close then run [execute player command "/fsklep d4"]
  41. format slot 22 of player with 1 120 named "&4&l64 BoyFarmery" with lore "&7Koszt to: &620 lvl" to close then run [execute player command "/fsklep d5"]
  42. format slot 23 of player with 1 121 named "&4&l64 SandFarmery" with lore "&7Koszt to: &620 lvl" to close then run [execute player command "/fsklep d6"]
  43. format slot 27 of player with 1 121 named "&4&l64 KopaczeFos" with lore "&7Koszt to: &620 lvl" to close then run [execute player command "/fsklep d7"]
  44. format slot 28 of player with 1 obsidian named "&4&lOBSIDIAN x640" with lore "&7Koszt to: &625 lvl" to close then run [execute player command "/fsklep d8"]
  45. format slot 29 of player with 1 chest named "&4&lPREMIUMCASE x10" with lore "&7Koszt to: &650 lvl" to close then run [execute player command "/fsklep d9"]
  46. format slot 30 of player with 1 122 named "&4&lPandora x10" with lore "&7Koszt to: &645 lvl" to close then run [execute player command "/fsklep d10"]
  47.  
  48.  
  49.  
  50.  
  51. command /fsklep [<text>]:
  52. trigger:
  53. if arg 1 is "m1":
  54. if {player.lvl} is greater than 24:
  55. remove 25 from {player.lvl}
  56. give player diamond sword of sharpness 5 and fire aspect 2 named "&4&l5/2"
  57. send ""
  58. send ""
  59. send "&8[&eEasyGM&8] &7Zakupiles &6Miecz 5/2 &7!"
  60. send ""
  61. send ""
  62. stop
  63. else:
  64. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  65. stop
  66. if arg 1 is "m2":
  67. if {player.lvl} is greater than 34:
  68. remove 35 from {player.lvl}
  69. give player diamond sword of sharpness 6 and fire aspect 2 named "&4&l6/2"
  70. send ""
  71. send ""
  72. send "&8[&eEasyGM&8] &7Zakupiles &6Miecz 6/2 &7!"
  73. send ""
  74. send ""
  75. stop
  76. else:
  77. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  78. stop
  79. if arg 1 is "m3":
  80. if {player.lvl} is greater than 54:
  81. remove 55 from {player.lvl}
  82. give player diamond sword of sharpness 8 and fire aspect 3 named "&4&l8/3"
  83. send ""
  84. send ""
  85. send "&8[&eEasyGM&8] &7Zakupiles &6Miecz 8/3 &7!"
  86. send ""
  87. send ""
  88. stop
  89. else:
  90. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  91. stop
  92. if arg 1 is "m4":
  93. if {player.lvl} is greater than 24:
  94. remove 25 from {player.lvl}
  95. give player diamond sword of knockback 2 named "&4&lKNOCK 2"
  96. send ""
  97. send ""
  98. send "&8[&eEasyGM&8] &7Zakupiles &6Knock 2 &7!"
  99. send ""
  100. send ""
  101. stop
  102. else:
  103. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  104. stop
  105. if arg 1 is "m5":
  106. if {player.lvl} is greater than 34:
  107. remove 35 from {player.lvl}
  108. give player diamond sword of knockback 3 named "&4&lKNOCK 3"
  109. send ""
  110. send ""
  111. send "&8[&eEasyGM&8] &7Zakupiles &6Knock 3 &7!"
  112. send ""
  113. send ""
  114. stop
  115. else:
  116. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  117. stop
  118. if arg 1 is "m6":
  119. if {player.lvl} is greater than 54:
  120. remove 55 from {player.lvl}
  121. give player diamond sword of knockback 5 named "&4&lKNOCK 5"
  122. send ""
  123. send ""
  124. send "&8[&eEasyGM&8] &7Zakupiles &6Knock 5 &7!"
  125. send ""
  126. send ""
  127. stop
  128. else:
  129. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  130. if arg 1 is "k1":
  131. if {player.lvl} is greater than 24:
  132. remove 25 from {player.lvl}
  133. give player diamond pickaxe of efficiency 5 and fortune 3 and unbreaking 3 named "&4&l5/3/3"
  134. send ""
  135. send ""
  136. send "&8[&eEasyGM&8] &7Zakupiles &6Kilof 5/3/3 &7!"
  137. send ""
  138. send ""
  139. stop
  140. else:
  141. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  142. stop
  143. if arg 1 is "k2":
  144. if {player.lvl} is greater than 34:
  145. remove 35 from {player.lvl}
  146. give player diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&4&l6/3/3"
  147. send ""
  148. send ""
  149. send "&8[&eEasyGM&8] &7Zakupiles &6Kilof 6/3/3 &7!"
  150. send ""
  151. send ""
  152. stop
  153. else:
  154. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  155. stop
  156. if arg 1 is "k3":
  157. if {player.lvl} is greater than 54:
  158. remove 55 from {player.lvl}
  159. give player diamond pickaxe of efficiency 7 and fortune 4 and unbreaking 4 named "&4&l7/4/4"
  160. send ""
  161. send ""
  162. send "&8[&eEasyGM&8] &7Zakupiles &6Kilof 7/4/4 &7!"
  163. send ""
  164. send ""
  165. stop
  166. else:
  167. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  168. stop
  169. if arg 1 is "z1":
  170. if {player.lvl} is greater than 24:
  171. remove 25 from {player.lvl}
  172. give player diamond helmet of protection 4 and unbreaking 1 named "&4&lSET 4/1"
  173. give player diamond chestplate of protection 4 and unbreaking 1 named "&4&lSET 4/1"
  174. give player diamond leggings of protection 4 and unbreaking 1 named "&4&lSET 4/1"
  175. give player diamond boots of protection 4 and unbreaking 1 named "&4&lSET 4/1"
  176. send ""
  177. send ""
  178. send "&8[&eEasyGM&8] &7Zakupiles &6Set 4/1 &7!"
  179. send ""
  180. send ""
  181. stop
  182. else:
  183. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  184. stop
  185. if arg 1 is "z2":
  186. if {player.lvl} is greater than 34:
  187. remove 35 from {player.lvl}
  188. give player diamond helmet of protection 4 and unbreaking 3 named "&4&lSET 4/3"
  189. give player diamond chestplate of protection 4 and unbreaking 3 named "&4&lSET 4/3"
  190. give player diamond leggings of protection 4 and unbreaking 3 named "&4&lSET 4/3"
  191. give player diamond boots of protection 4 and unbreaking 3 named "&4&lSET 4/3"
  192. send ""
  193. send ""
  194. send "&8[&eEasyGM&8] &7Zakupiles &6Set 4/3 &7!"
  195. send ""
  196. send ""
  197. stop
  198. else:
  199. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  200. stop
  201. if arg 1 is "z3":
  202. if {player.lvl} is greater than 54:
  203. remove 55 from {player.lvl}
  204. give player diamond helmet of protection 5 and unbreaking 3 named "&4&lSET 5/3"
  205. give player diamond chestplate of protection 5 and unbreaking 3 named "&4&lSET 5/3"
  206. give player diamond leggings of protection 5 and unbreaking 3 named "&4&lSET 5/3"
  207. give player diamond boots of protection 5 and unbreaking 3 named "&4&lSET 5/3"
  208. send ""
  209. send ""
  210. send "&8[&eEasyGM&8] &7Zakupiles &6Set 5/3 &7!"
  211. send ""
  212. send ""
  213. stop
  214. else:
  215. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  216. stop
  217. if arg 1 is "d1":
  218. if {player.lvl} is greater than 14:
  219. remove 15 from {player.lvl}
  220. give player 10 322:1
  221. send ""
  222. send ""
  223. send "&8[&eEasyGM&8] &7Zakupiles &610 Koxow &7!"
  224. send ""
  225. send ""
  226. stop
  227. else:
  228. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  229. stop
  230. if arg 1 is "d2":
  231. if {player.lvl} is greater than 24:
  232. remove 25 from {player.lvl}
  233. give player 32 322:1
  234. send ""
  235. send ""
  236. send "&8[&eEasyGM&8] &7Zakupiles &632 Koxy &7!"
  237. send ""
  238. send ""
  239. stop
  240. else:
  241. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  242. stop
  243. if arg 1 is "d3":
  244. if {player.lvl} is greater than 34:
  245. remove 35 from {player.lvl}
  246. give player 64 322:1
  247. send ""
  248. send ""
  249. send "&8[&eEasyGM&8] &7Zakupiles &664 Koxow &7!"
  250. send ""
  251. send ""
  252. stop
  253. else:
  254. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  255. stop
  256. if arg 1 is "d4":
  257. if {player.lvl} is greater than 99:
  258. remove 99 from {player.lvl}
  259. execute console command "setrank %player% VIP"
  260. send ""
  261. send ""
  262. send "&8[&eEasyGM&8] &7Zakupiles &6&lVIP'a &7!"
  263. send ""
  264. send ""
  265. stop
  266. else:
  267. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  268. stop
  269. if arg 1 is "d5":
  270. if {player.lvl} is greater than 19:
  271. remove 20 from {player.lvl}
  272. give player 64 120 named "&8» &3BoyFarmer"
  273. send ""
  274. send ""
  275. send "&8[&eEasyGM&8] &7Zakupiles &6BoyFarmer'a x64 &7!"
  276. send ""
  277. send ""
  278. stop
  279. else:
  280. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  281. stop
  282. if arg 1 is "d6":
  283. if {player.lvl} is greater than 19:
  284. remove 20 from {player.lvl}
  285. give player 64 121 named "&8» &3SandFarmer"
  286. send ""
  287. send ""
  288. send "&8[&eEasyGM&8] &7Zakupiles &6SandFarmer'a x64 &7!"
  289. send ""
  290. send ""
  291. stop
  292. else:
  293. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  294. stop
  295. if arg 1 is "d7":
  296. if {player.lvl} is greater than 19:
  297. remove 20 from {player.lvl}
  298. give player 64 121 named "&8» &3KopaczFosy"
  299. send ""
  300. send ""
  301. send "&8[&eEasyGM&8] &7Zakupiles &6KopaczFosy'a x64 &7!"
  302. send ""
  303. send ""
  304. stop
  305. else:
  306. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  307. stop
  308. if arg 1 is "d8":
  309. if {player.lvl} is greater than 24:
  310. remove 25 from {player.lvl}
  311. give player 640 obsidian
  312. send ""
  313. send ""
  314. send "&8[&eEasyGM&8] &7Zakupiles &6Obsidian x640 &7!"
  315. send ""
  316. send ""
  317. stop
  318. else:
  319. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  320. stop
  321. if arg 1 is "d9":
  322. if {player.lvl} is greater than 49:
  323. remove 49 from {player.lvl}
  324. execute console command "case %player% 10"
  325. send ""
  326. send ""
  327. send "&8[&eEasyGM&8] &7Zakupiles &6Premium Case x10 &7!"
  328. send ""
  329. send ""
  330. stop
  331. else:
  332. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  333. stop
  334. if arg 1 is "d10":
  335. if {player.lvl} is greater than 44:
  336. remove 44 from {player.lvl}
  337. execute console command "pandora %player% 10"
  338. send ""
  339. send ""
  340. send "&8[&eEasyGM&8] &7Zakupiles &6Pandora x10 &7!"
  341. send ""
  342. send ""
  343. stop
  344. else:
  345. send "&8[&eEasyGM&8] &7Nie Posiadasz Wystarczajacego LvL: &6%{player.lvl}%"
  346. stop
Add Comment
Please, Sign In to add comment