ArtzifyHD

Mega Crates

Jul 21st, 2017
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.88 KB | None | 0 0
  1. # Random Boxs beta V0.1
  2. # By Sebgineer
  3. options:
  4.  
  5. parperm: minecraft.command.particle
  6. Prefix: &a&lTNTCrates &2&l>>&a
  7.  
  8. on first join:
  9. set {rbcoalkey.%player%} to 1
  10. set {rbgoldkey.%player%} to 0
  11. set {rbdiamondkey.%player%} to 0
  12.  
  13. command /rb:
  14. trigger:
  15. if player have permission "rb.admin":
  16. message "{@Prefix}&a&l&m---------------------------" to player
  17. message "&a TNTCrates beta 0.1" to player
  18. message " " to player
  19. message "&a/rb" to player
  20. message "&a/rb-help" to player
  21. message "&a/rb-groupmode" to player
  22. message "&a/rb-givekey" to player
  23. message "&a/rb-start" to player
  24. message "&a/rb-create-(crate) coal, gold and diamond" to player
  25. message "&a/rb-delete-(delete) coal, gold and diamond" to player
  26. message "&a&l&m----------------------------------------" to player
  27.  
  28. command /rb-help:
  29. trigger:
  30. if player have permission "rb.admin":
  31. message "{@Prefix}&a&l&m---------------------------" to player
  32. message "&a TNTCrates beta 0.1" to player
  33. message " " to player
  34. message "&a/rb" to player
  35. message "&a/rb-help" to player
  36. message "&a/rb-groupmode" to player
  37. message "&a/rb-givekey" to player
  38. message "&a/rb-start" to player
  39. message "&a/rb-create-(crate) coal, gold and diamond" to player
  40. message "&a/rb-delete-(delete) coal, gold and diamond" to player
  41. message "&a&l&m----------------------------------------" to player
  42.  
  43. command /rb-groupmode [<text>]:
  44. trigger:
  45. if arg 1 is "pex" or "permissionex":
  46. set {rb.gm} to 1
  47. send "{@Prefix} du have set it to PermissionEx" to player
  48. if arg 1 is "gm" or "groupmanager":
  49. set {rb.gm} to 2
  50. send "{@Prefix} du have set it to groupmanager" to player
  51. if arg 1 is not set:
  52. send "{@Prefix} you can only do PEX or PermissionEx or gm and GroupManager" to player
  53. if arg 1 is not "gm" or "groupmanager" or "pex" or "permissionex":
  54. send "{@Prefix} you can only do PEX or PermissionEx or gm or GroupManager" to player
  55.  
  56. command /rb-givekey [<text>] [<text>]:
  57. trigger:
  58. if player have permission "rb.admin":
  59. if arg 1 is not set:
  60. message "{@Prefix} you have not select a player" to player
  61. stop trigger
  62. if arg 2 is not set:
  63. message "" to player
  64. if arg 2 is "coal":
  65. add 1 to {rbcoalkey.%arg 1%}
  66. message "{@Prefix} you have give a Coal Key to %arg 1%" to player
  67. stop trigger
  68. if arg 2 is "gold":
  69. add 1 to {rbgoldkey.%arg 1%}
  70. message "{@Prefix} you have give a Gold Key to %arg 1%" to player
  71. stop trigger
  72. if arg 2 is "diamond":
  73. add 1 to {rbdiamondkey.%arg 1%}
  74. message "{@Prefix} you have give a Diamond Key to %arg 1%" to player
  75. stop trigger
  76.  
  77. command /rb-start:
  78. trigger:
  79. set {rb.coal} to 0
  80. set {rb.gold} to 0
  81. set {rb.diamond} to 0
  82. set {rbopen.coal} to 0
  83. set {rbopen.gold} to 0
  84. set {rbopen.diamond} to 0
  85. set {rb.gm} to 0
  86. message "{@Prefix} you have start Random Boxs" to player
  87.  
  88. command /rb-create-coal:
  89. trigger:
  90. if player have permission "rb.admin":
  91. {rb.coal} is 0:
  92. message "&4&lDon't Move" to player
  93. make player execute command "setblock ~ ~-1 ~ bedrock"
  94. make player execute command "setblock ~ ~ ~ minecraft:beacon"
  95. wait 2 ticks
  96. make player execute command "tp ~-1 ~0 ~0"
  97. make player execute command "setblock ~ ~ ~ minecraft:nether_brick_stairs 0"
  98. wait 2 ticks
  99. make player execute command "tp ~1 ~0 ~-1"
  100. make player execute command "setblock ~ ~ ~ minecraft:nether_brick_stairs 2"
  101. wait 2 ticks
  102. make player execute command "tp ~1 ~0 ~1"
  103. make player execute command "setblock ~ ~ ~ minecraft:nether_brick_stairs 1"
  104. wait 2 ticks
  105. make player execute command "tp ~-1 ~0 ~1"
  106. make player execute command "setblock ~ ~ ~ minecraft:nether_brick_stairs 3"
  107. wait 2 ticks
  108. make player execute command "tp ~0 ~1 ~-1"
  109. make player execute command "setblock ~ ~ ~ minecraft:stone"
  110. wait 2 ticks
  111. make player execute command "tp ~0 ~1 ~0"
  112. make player execute command "setblock ~ ~ ~ minecraft:coal_block"
  113. wait 2 ticks
  114. make player execute command "setblock ~ ~-1 ~ minecraft:air"
  115. make player execute command "tp ~0 ~1 ~0"
  116. wait 10 ticks
  117. make player execute command "hd create coal_box &b&lCoal Crate"
  118. make player execute command "hd addline coal_box &eRight Click for open"
  119. set {rbspawn.coal} to location of player
  120. set {rb.coal} to 1
  121. message "{@Prefix} Finish" to player
  122. stop trigger
  123. {rb.coal} is 1:
  124. message "{@Prefix} you have set a Coal Crate" to player
  125. stop trigger
  126.  
  127. command /rb-create-gold:
  128. trigger:
  129. if player have permission "rb.admin":
  130. {rb.gold} is 0:
  131. message "&4&lDon't Move" to player
  132. make player execute command "setblock ~ ~-1 ~ bedrock"
  133. make player execute command "setblock ~ ~ ~ minecraft:beacon"
  134. wait 2 ticks
  135. make player execute command "tp ~-1 ~0 ~0"
  136. make player execute command "setblock ~ ~ ~ minecraft:sandstone_stairs 0"
  137. wait 2 ticks
  138. make player execute command "tp ~1 ~0 ~-1"
  139. make player execute command "setblock ~ ~ ~ minecraft:sandstone_stairs 2"
  140. wait 2 ticks
  141. make player execute command "tp ~1 ~0 ~1"
  142. make player execute command "setblock ~ ~ ~ minecraft:sandstone_stairs 1"
  143. wait 2 ticks
  144. make player execute command "tp ~-1 ~0 ~1"
  145. make player execute command "setblock ~ ~ ~ minecraft:sandstone_stairs 3"
  146. wait 2 ticks
  147. make player execute command "tp ~0 ~1 ~-1"
  148. make player execute command "setblock ~ ~ ~ minecraft:stone"
  149. wait 2 ticks
  150. make player execute command "tp ~0 ~1 ~0"
  151. make player execute command "setblock ~ ~ ~ minecraft:gold_block"
  152. wait 2 ticks
  153. make player execute command "setblock ~ ~-1 ~ minecraft:air"
  154. make player execute command "tp ~0 ~1 ~0"
  155. wait 10 ticks
  156. make player execute command "hd create gold_box &b&lGold Crate"
  157. make player execute command "hd addline gold_box &eRight Click for open"
  158. set {rbspawn.gold} to location of player
  159. set {rb.gold} to 1
  160. message "{@Prefix} Finish" to player
  161. stop trigger
  162. {rb.gold} is 1:
  163. message "{@Prefix} you have set a Gold Crate" to player
  164. stop trigger
  165.  
  166. command /rb-create-diamond:
  167. trigger:
  168. if player have permission "rb.admin":
  169. {rb.diamond} is 0:
  170. message "&4&lDon't Move" to player
  171. make player execute command "setblock ~ ~-1 ~ bedrock"
  172. make player execute command "setblock ~ ~ ~ minecraft:beacon"
  173. wait 2 ticks
  174. make player execute command "tp ~-1 ~0 ~0"
  175. make player execute command "setblock ~ ~ ~ minecraft:quartz_stairs 0"
  176. wait 2 ticks
  177. make player execute command "tp ~1 ~0 ~-1"
  178. make player execute command "setblock ~ ~ ~ minecraft:quartz_stairs 2"
  179. wait 2 ticks
  180. make player execute command "tp ~1 ~0 ~1"
  181. make player execute command "setblock ~ ~ ~ minecraft:quartz_stairs 1"
  182. wait 2 ticks
  183. make player execute command "tp ~-1 ~0 ~1"
  184. make player execute command "setblock ~ ~ ~ minecraft:quartz_stairs 3"
  185. wait 2 ticks
  186. make player execute command "tp ~0 ~1 ~-1"
  187. make player execute command "setblock ~ ~ ~ minecraft:stone"
  188. wait 2 ticks
  189. make player execute command "tp ~0 ~1 ~0"
  190. make player execute command "setblock ~ ~ ~ minecraft:diamond_block"
  191. wait 2 ticks
  192. make player execute command "setblock ~ ~-1 ~ minecraft:air"
  193. make player execute command "tp ~0 ~1 ~0"
  194. wait 10 ticks
  195. make player execute command "hd create diamond_box &b&lDiamond Crate"
  196. make player execute command "hd addline diamond_box &eRight Click for open"
  197. set {rbspawn.diamond} to location of player
  198. set {rb.diamond} to 1
  199. message "{@Prefix} Finish" to player
  200. stop trigger
  201. {rb.diamond} is 1:
  202. message "{@Prefix} you have set a Diamond Crate" to player
  203. stop trigger
  204.  
  205. command /rb-delete-coal:
  206. trigger:
  207. if player have permission "rb.admin":
  208. {rb.coal} is 0:
  209. message "{@Prefix} You have not a coal crate" to player
  210. stop trigger
  211. {rb.coal} is 1:
  212. teleport player to {rbspawn.coal}
  213. make player execute command "hd delete coal_box"
  214. make player execute command "setblock ~ ~-1 ~ air"
  215. wait 2 ticks
  216. make player execute command "tp %player% ~0 ~-2 ~0"
  217. make player execute command "setblock ~ ~-1 ~ air"
  218. make player execute command "setblock ~ ~-2 ~ grass"
  219. wait 2 ticks
  220. make player execute command "tp %player% ~1 ~0 ~0"
  221. make player execute command "setblock ~ ~-1 ~ air"
  222. wait 2 ticks
  223. make player execute command "tp %player% ~-1 ~0 ~1"
  224. make player execute command "setblock ~ ~-1 ~ air"
  225. wait 2 ticks
  226. make player execute command "tp %player% ~-1 ~0 ~-1"
  227. make player execute command "setblock ~ ~-1 ~ air"
  228. wait 2 ticks
  229. make player execute command "tp %player% ~1 ~0 ~-1"
  230. make player execute command "setblock ~ ~-1 ~ air"
  231. set {rb.coal} to 0
  232. message "{@Prefix} Finish" to player
  233. stop trigger
  234.  
  235. command /rb-delete-gold:
  236. trigger:
  237. if player have permission "rb.admin":
  238. {rb.gold} is 0:
  239. message "{@Prefix} You have not a gold crate" to player
  240. stop trigger
  241. {rb.gold} is 1:
  242. teleport player to {rbspawn.gold}
  243. make player execute command "hd delete gold_box"
  244. make player execute command "setblock ~ ~-1 ~ air"
  245. wait 2 ticks
  246. make player execute command "tp %player% ~0 ~-2 ~0"
  247. make player execute command "setblock ~ ~-1 ~ air"
  248. make player execute command "setblock ~ ~-2 ~ grass"
  249. wait 2 ticks
  250. make player execute command "tp %player% ~1 ~0 ~0"
  251. make player execute command "setblock ~ ~-1 ~ air"
  252. wait 2 ticks
  253. make player execute command "tp %player% ~-1 ~0 ~1"
  254. make player execute command "setblock ~ ~-1 ~ air"
  255. wait 2 ticks
  256. make player execute command "tp %player% ~-1 ~0 ~-1"
  257. make player execute command "setblock ~ ~-1 ~ air"
  258. wait 2 ticks
  259. make player execute command "tp %player% ~1 ~0 ~-1"
  260. make player execute command "setblock ~ ~-1 ~ air"
  261. set {rb.gold} to 0
  262. message "{@Prefix} Finish" to player
  263. stop trigger
  264.  
  265. command /rb-delete-diamond:
  266. trigger:
  267. if player have permission "rb.admin":
  268. {rb.diamond} is 0:
  269. message "{@Prefix} You have not a diamond crate" to player
  270. stop trigger
  271. {rb.diamond} is 1:
  272. teleport player to {rbspawn.diamond}
  273. make player execute command "hd delete diamond_box"
  274. make player execute command "setblock ~ ~-1 ~ air"
  275. wait 2 ticks
  276. make player execute command "tp %player% ~0 ~-2 ~0"
  277. make player execute command "setblock ~ ~-1 ~ air"
  278. make player execute command "setblock ~ ~-2 ~ grass"
  279. wait 2 ticks
  280. make player execute command "tp %player% ~1 ~0 ~0"
  281. make player execute command "setblock ~ ~-1 ~ air"
  282. wait 2 ticks
  283. make player execute command "tp %player% ~-1 ~0 ~1"
  284. make player execute command "setblock ~ ~-1 ~ air"
  285. wait 2 ticks
  286. make player execute command "tp %player% ~-1 ~0 ~-1"
  287. make player execute command "setblock ~ ~-1 ~ air"
  288. wait 2 ticks
  289. make player execute command "tp %player% ~1 ~0 ~-1"
  290. make player execute command "setblock ~ ~-1 ~ air"
  291. set {rb.diamond} to 0
  292. message "{@Prefix} Finish" to player
  293. stop trigger
  294.  
  295. on right click:
  296. if event-block is coal block:
  297. loop blocks in radius 3 around block at player:
  298. loop-block is a bedrock:
  299. if player have permission "rb.open":
  300. if {rb.gm} is more than 0:
  301. if {rbcoalkey.%player%} is more than 0:
  302. {rbopen.coal} is 1:
  303. message "{@Prefix} you must wait to the author player is done" to player
  304. {rbopen.coal} is 0:
  305. teleport player to {rbspawn.coal}
  306. set {rbopen.coal} to 1
  307. execute console command "hd setline coal_box 1 &0."
  308. execute console command "hd removeline coal_box 2"
  309. apply slowness 10 to player for 5 seconds
  310. apply jump boost -10 to player for 5 seconds
  311. add golden sword to {_coal::*}
  312. add stone sword to {_coal::*}
  313. add bow to {_coal::*}
  314. add chain helmet to {_coal::*}
  315. add chain chestplate to {_coal::*}
  316. add chain leggings to {_coal::*}
  317. add chain boots to {_coal::*}
  318. set {_coal} to random element of {_coal::*}
  319. {rb.gm} is 1:
  320. execute console command "pex user %player% add minecraft.command.particle"
  321. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  322. wait 2 ticks
  323. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  324. wait 2 ticks
  325. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  326. wait 2 ticks
  327. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  328. wait 2 ticks
  329. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  330. wait 2 ticks
  331. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  332. wait 2 ticks
  333. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  334. wait 2 ticks
  335. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  336. wait 2 ticks
  337. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  338. wait 2 ticks
  339. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  340. wait 2 ticks
  341. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  342. wait 2 ticks
  343. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  344. wait 2 ticks
  345. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  346. wait 2 ticks
  347. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  348. wait 2 ticks
  349. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  350. wait 2 ticks
  351. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  352. wait 2 ticks
  353. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  354. wait 2 ticks
  355. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  356. wait 2 ticks
  357. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  358. wait 2 ticks
  359. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  360. wait 2 ticks
  361. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  362. wait 2 ticks
  363. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  364. wait 2 ticks
  365. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  366. wait 2 ticks
  367. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  368. wait 2 ticks
  369. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  370. wait 2 ticks
  371. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  372. wait 2 ticks
  373. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  374. wait 2 ticks
  375. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  376. wait 2 ticks
  377. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  378. wait 2 ticks
  379. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  380. wait 2 ticks
  381. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  382. wait 2 ticks
  383. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  384. wait 2 ticks
  385. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  386. wait 2 ticks
  387. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  388. wait 2 ticks
  389. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  390. wait 2 ticks
  391. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  392. wait 2 ticks
  393. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  394. wait 2 ticks
  395. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  396. wait 2 ticks
  397. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  398. wait 2 ticks
  399. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  400. wait 2 ticks
  401. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  402. wait 2 ticks
  403. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  404. wait 2 ticks
  405. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  406. wait 2 ticks
  407. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  408. wait 2 ticks
  409. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  410. wait 2 ticks
  411. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  412. remove 1 from {rbcoalkey.%player%}
  413. execute console command "hd setline coal_box 1 &b&l%player% Found "
  414. execute console command "hd addline coal_box &eA %{_coal}%"
  415. message "&6You have found: &a%{_coal}%" to player
  416. give {_coal} to player
  417. execute console command "pex user %player% remove minecraft.command.particle"
  418. wait 15 seconds
  419. execute console command "hd setline coal_box 1 &b&lCoal Crate"
  420. execute console command "hd setline coal_box 2 &eRight Click for open"
  421. set {rbopen.coal} to 0
  422. stop trigger
  423. {rb.gm} is 2:
  424. execute console command "/manuaddp %player% minecraft.command.particle"
  425. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  426. wait 2 ticks
  427. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  428. wait 2 ticks
  429. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  430. wait 2 ticks
  431. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  432. wait 2 ticks
  433. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  434. wait 2 ticks
  435. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  436. wait 2 ticks
  437. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  438. wait 2 ticks
  439. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  440. wait 2 ticks
  441. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  442. wait 2 ticks
  443. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  444. wait 2 ticks
  445. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  446. wait 2 ticks
  447. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  448. wait 2 ticks
  449. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  450. wait 2 ticks
  451. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  452. wait 2 ticks
  453. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  454. wait 2 ticks
  455. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  456. wait 2 ticks
  457. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  458. wait 2 ticks
  459. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  460. wait 2 ticks
  461. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  462. wait 2 ticks
  463. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  464. wait 2 ticks
  465. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  466. wait 2 ticks
  467. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  468. wait 2 ticks
  469. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  470. wait 2 ticks
  471. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  472. wait 2 ticks
  473. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  474. wait 2 ticks
  475. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  476. wait 2 ticks
  477. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  478. wait 2 ticks
  479. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  480. wait 2 ticks
  481. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  482. wait 2 ticks
  483. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  484. wait 2 ticks
  485. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  486. wait 2 ticks
  487. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  488. wait 2 ticks
  489. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  490. wait 2 ticks
  491. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  492. wait 2 ticks
  493. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  494. wait 2 ticks
  495. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  496. wait 2 ticks
  497. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  498. wait 2 ticks
  499. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  500. wait 2 ticks
  501. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  502. wait 2 ticks
  503. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  504. wait 2 ticks
  505. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  506. wait 2 ticks
  507. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  508. wait 2 ticks
  509. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  510. wait 2 ticks
  511. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  512. wait 2 ticks
  513. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  514. wait 2 ticks
  515. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  516. remove 1 from {rbcoalkey.%player%}
  517. execute console command "hd setline coal_box 1 &b&l%player% Found "
  518. execute console command "hd addline coal_box &eA %{_coal}%"
  519. message "&6You have found: &a%{_coal}%" to player
  520. give {_coal} to player
  521. execute console command "/manudelp %player% minecraft.command.particle"
  522. wait 15 seconds
  523. execute console command "hd setline coal_box 1 &b&lCoal Crate"
  524. execute console command "hd setline coal_box 2 &eRight Click for open"
  525. set {rbopen.coal} to 0
  526. stop trigger
  527. else:
  528. message "&cyou don't have a key to coal crate" to player
  529. stop trigger
  530. else:
  531. message "{@Prefix} the admin/owner do not have set a groupmode" to player
  532. stop trigger
  533. else:
  534. message "{@Prefix} you have not permission" to player
  535. stop trigger
  536. if event-block is gold block:
  537. loop blocks in radius 3 around block at player:
  538. loop-block is a bedrock:
  539. if player have permission "rb.open":
  540. if {rb.gm} is more than 0:
  541. if {rbgoldkey.%player%} is more than 0:
  542. {rbopen.gold} is 1:
  543. message "{@Prefix} you must wait to the author player is done" to player
  544. {rbopen.gold} is 0:
  545. teleport player to {rbspawn.gold}
  546. set {rbopen.gold} to 1
  547. execute console command "hd setline gold_box 1 &0."
  548. execute console command "hd removeline gold_box 2"
  549. apply slowness 10 to player for 5 seconds
  550. apply jump boost -10 to player for 5 seconds
  551. add golden sword to {_gold::*}
  552. add iron sword to {_gold::*}
  553. add bow to {_gold::*}
  554. add iron helmet to {_gold::*}
  555. add iron chestplate to {_gold::*}
  556. add iron leggings to {_gold::*}
  557. add iron boots to {_gold::*}
  558. set {_gold} to random element of {_gold::*}
  559. {rb.gm} is 1:
  560. execute console command "pex user %player% add minecraft.command.particle"
  561. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  562. wait 2 ticks
  563. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  564. wait 2 ticks
  565. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  566. wait 2 ticks
  567. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  568. wait 2 ticks
  569. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  570. wait 2 ticks
  571. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  572. wait 2 ticks
  573. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  574. wait 2 ticks
  575. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  576. wait 2 ticks
  577. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  578. wait 2 ticks
  579. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  580. wait 2 ticks
  581. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  582. wait 2 ticks
  583. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  584. wait 2 ticks
  585. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  586. wait 2 ticks
  587. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  588. wait 2 ticks
  589. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  590. wait 2 ticks
  591. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  592. wait 2 ticks
  593. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  594. wait 2 ticks
  595. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  596. wait 2 ticks
  597. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  598. wait 2 ticks
  599. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  600. wait 2 ticks
  601. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  602. wait 2 ticks
  603. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  604. wait 2 ticks
  605. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  606. wait 2 ticks
  607. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  608. wait 2 ticks
  609. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  610. wait 2 ticks
  611. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  612. wait 2 ticks
  613. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  614. wait 2 ticks
  615. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  616. wait 2 ticks
  617. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  618. wait 2 ticks
  619. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  620. wait 2 ticks
  621. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  622. wait 2 ticks
  623. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  624. wait 2 ticks
  625. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  626. wait 2 ticks
  627. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  628. wait 2 ticks
  629. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  630. wait 2 ticks
  631. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  632. wait 2 ticks
  633. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  634. wait 2 ticks
  635. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  636. wait 2 ticks
  637. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  638. wait 2 ticks
  639. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  640. wait 2 ticks
  641. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  642. wait 2 ticks
  643. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  644. wait 2 ticks
  645. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  646. wait 2 ticks
  647. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  648. wait 2 ticks
  649. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  650. wait 2 ticks
  651. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  652. remove 1 from {rbgoldkey.%player%}
  653. execute console command "hd setline gold_box 1 &b&l%player% Found"
  654. execute console command "hd addline gold_box &eA %{_gold}%"
  655. message "&6You have found: &a%{_gold}%" to player
  656. give {_gold} to player
  657. execute console command "pex user %player% remove minecraft.command.particle"
  658. wait 15 seconds
  659. execute console command "hd setline gold_box 1 &b&lGold Crate"
  660. execute console command "hd setline gold_box 2 &eRight Click for open"
  661. set {rbopen.gold} to 0
  662. stop trigger
  663. {rb.gm} is 2:
  664. execute console command "/manuaddp %player% minecraft.command.particle"
  665. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  666. wait 2 ticks
  667. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  668. wait 2 ticks
  669. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  670. wait 2 ticks
  671. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  672. wait 2 ticks
  673. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  674. wait 2 ticks
  675. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  676. wait 2 ticks
  677. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  678. wait 2 ticks
  679. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  680. wait 2 ticks
  681. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  682. wait 2 ticks
  683. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  684. wait 2 ticks
  685. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  686. wait 2 ticks
  687. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  688. wait 2 ticks
  689. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  690. wait 2 ticks
  691. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  692. wait 2 ticks
  693. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  694. wait 2 ticks
  695. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  696. wait 2 ticks
  697. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  698. wait 2 ticks
  699. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  700. wait 2 ticks
  701. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  702. wait 2 ticks
  703. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  704. wait 2 ticks
  705. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  706. wait 2 ticks
  707. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  708. wait 2 ticks
  709. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  710. wait 2 ticks
  711. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  712. wait 2 ticks
  713. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  714. wait 2 ticks
  715. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  716. wait 2 ticks
  717. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  718. wait 2 ticks
  719. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  720. wait 2 ticks
  721. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  722. wait 2 ticks
  723. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  724. wait 2 ticks
  725. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  726. wait 2 ticks
  727. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  728. wait 2 ticks
  729. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  730. wait 2 ticks
  731. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  732. wait 2 ticks
  733. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  734. wait 2 ticks
  735. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  736. wait 2 ticks
  737. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  738. wait 2 ticks
  739. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  740. wait 2 ticks
  741. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  742. wait 2 ticks
  743. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  744. wait 2 ticks
  745. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  746. wait 2 ticks
  747. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  748. wait 2 ticks
  749. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  750. wait 2 ticks
  751. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  752. wait 2 ticks
  753. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  754. wait 2 ticks
  755. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  756. remove 1 from {rbgoldkey.%player%}
  757. execute console command "hd setline gold_box 1 &b&l%player% Found"
  758. execute console command "hd addline gold_box &eA %{_gold}%"
  759. message "&6You have found: &a%{_gold}%" to player
  760. give {_gold} to player
  761. execute console command "/manudelp %player% minecraft.command.particle"
  762. wait 15 seconds
  763. execute console command "hd setline gold_box 1 &b&lGold Crate"
  764. execute console command "hd setline gold_box 2 &eRight Click for open"
  765. set {rbopen.gold} to 0
  766. stop trigger
  767. else:
  768. message "&cyou don't have a key to gold crate" to player
  769. stop trigger
  770. else:
  771. message "{@Prefix} the admin/owner do not have set a groupmode" to player
  772. stop trigger
  773. else:
  774. message "{@Prefix} you have not permission" to player
  775. stop trigger
  776. if event-block is diamond block:
  777. loop blocks in radius 3 around block at player:
  778. loop-block is a bedrock:
  779. if player have permission "rb.open":
  780. if {rb.gm} is more than 0:
  781. if {rbdiamondkey.%player%} is more than 0:
  782. {rbopen.diamond} is 1:
  783. message "{@Prefix} you must wait to the author player is done" to player
  784. {rbopen.diamond} is 0:
  785. teleport player to {rbspawn.diamond}
  786. set {rbopen.diamond} to 1
  787. execute console command "hd setline diamond_box 1 &0."
  788. execute console command "hd removeline diamond_box 2"
  789. apply slowness 10 to player for 5 seconds
  790. apply jump boost -10 to player for 5 seconds
  791. add diamond sword to {_diamond::*}
  792. add iron sword to {_diamond::*}
  793. add bow to {_diamond::*}
  794. add diamond helmet to {_diamond::*}
  795. add diamond chestplate to {_diamond::*}
  796. add diamond leggings to {_diamond::*}
  797. add diamond boots to {_diamond::*}
  798. set {_diamond} to random element of {_diamond::*}
  799. {rb.gm} is 1:
  800. execute console command "pex user %player% add minecraft.command.particle"
  801. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  802. wait 2 ticks
  803. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  804. wait 2 ticks
  805. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  806. wait 2 ticks
  807. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  808. wait 2 ticks
  809. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  810. wait 2 ticks
  811. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  812. wait 2 ticks
  813. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  814. wait 2 ticks
  815. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  816. wait 2 ticks
  817. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  818. wait 2 ticks
  819. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  820. wait 2 ticks
  821. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  822. wait 2 ticks
  823. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  824. wait 2 ticks
  825. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  826. wait 2 ticks
  827. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  828. wait 2 ticks
  829. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  830. wait 2 ticks
  831. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  832. wait 2 ticks
  833. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  834. wait 2 ticks
  835. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  836. wait 2 ticks
  837. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  838. wait 2 ticks
  839. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  840. wait 2 ticks
  841. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  842. wait 2 ticks
  843. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  844. wait 2 ticks
  845. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  846. wait 2 ticks
  847. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  848. wait 2 ticks
  849. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  850. wait 2 ticks
  851. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  852. wait 2 ticks
  853. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  854. wait 2 ticks
  855. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  856. wait 2 ticks
  857. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  858. wait 2 ticks
  859. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  860. wait 2 ticks
  861. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  862. wait 2 ticks
  863. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  864. wait 2 ticks
  865. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  866. wait 2 ticks
  867. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  868. wait 2 ticks
  869. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  870. wait 2 ticks
  871. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  872. wait 2 ticks
  873. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  874. wait 2 ticks
  875. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  876. wait 2 ticks
  877. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  878. wait 2 ticks
  879. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  880. wait 2 ticks
  881. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  882. wait 2 ticks
  883. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  884. wait 2 ticks
  885. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  886. wait 2 ticks
  887. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  888. wait 2 ticks
  889. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  890. wait 2 ticks
  891. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  892. remove 1 from {rbdiamondkey.%player%}
  893. execute console command "hd setline diamond_box 1 &b&l%player% Found"
  894. execute console command "hd addline diamond_box &eA %{_diamond}%"
  895. message "&6You have found: &a%{_diamond}%" to player
  896. give {_diamond} to player
  897. execute console command "pex user %player% remove minecraft.command.particle"
  898. wait 15 seconds
  899. execute console command "hd setline diamond_box 1 &b&lDiamond Crate"
  900. execute console command "hd setline diamond_box 2 &eRight Click for open"
  901. set {rbopen.diamond} to 0
  902. stop trigger
  903. {rb.gm} is 2:
  904. execute console command "/manuaddp %player% minecraft.command.particle"
  905. make player execute command "particle happyVillager ~ ~10 ~ 0 0 0 0.6 10 10"
  906. wait 2 ticks
  907. make player execute command "particle happyVillager ~ ~9.8 ~ 0 0 0 0.6 10 10"
  908. wait 2 ticks
  909. make player execute command "particle happyVillager ~ ~9.6 ~ 0 0 0 0.6 10 10"
  910. wait 2 ticks
  911. make player execute command "particle happyVillager ~ ~9.4 ~ 0 0 0 0.6 10 10"
  912. wait 2 ticks
  913. make player execute command "particle happyVillager ~ ~9.2 ~ 0 0 0 0.6 10 10"
  914. wait 2 ticks
  915. make player execute command "particle happyVillager ~ ~9 ~ 0 0 0 0.6 10 10"
  916. wait 2 ticks
  917. make player execute command "particle happyVillager ~ ~8.8 ~ 0 0 0 0.6 10 10"
  918. wait 2 ticks
  919. make player execute command "particle happyVillager ~ ~8.6 ~ 0 0 0 0.6 10 10"
  920. wait 2 ticks
  921. make player execute command "particle happyVillager ~ ~8.4 ~ 0 0 0 0.6 10 10"
  922. wait 2 ticks
  923. make player execute command "particle happyVillager ~ ~8.2 ~ 0 0 0 0.6 10 10"
  924. wait 2 ticks
  925. make player execute command "particle happyVillager ~ ~8 ~ 0 0 0 0.6 10 10"
  926. wait 2 ticks
  927. make player execute command "particle happyVillager ~ ~7.8 ~ 0 0 0 0.6 10 10"
  928. wait 2 ticks
  929. make player execute command "particle happyVillager ~ ~7.6 ~ 0 0 0 0.6 10 10"
  930. wait 2 ticks
  931. make player execute command "particle happyVillager ~ ~7.4 ~ 0 0 0 0.6 10 10"
  932. wait 2 ticks
  933. make player execute command "particle happyVillager ~ ~7.2 ~ 0 0 0 0.6 10 10"
  934. wait 2 ticks
  935. make player execute command "particle happyVillager ~ ~7 ~ 0 0 0 0.6 10 10"
  936. wait 2 ticks
  937. make player execute command "particle happyVillager ~ ~6.8 ~ 0 0 0 0.6 10 10"
  938. wait 2 ticks
  939. make player execute command "particle happyVillager ~ ~6.6 ~ 0 0 0 0.6 10 10"
  940. wait 2 ticks
  941. make player execute command "particle happyVillager ~ ~6.4 ~ 0 0 0 0.6 10 10"
  942. wait 2 ticks
  943. make player execute command "particle happyVillager ~ ~6.2 ~ 0 0 0 0.6 10 10"
  944. wait 2 ticks
  945. make player execute command "particle happyVillager ~ ~6 ~ 0 0 0 0.6 10 10"
  946. wait 2 ticks
  947. make player execute command "particle happyVillager ~ ~5.8 ~ 0 0 0 0.6 10 10"
  948. wait 2 ticks
  949. make player execute command "particle happyVillager ~ ~5.6 ~ 0 0 0 0.6 10 10"
  950. wait 2 ticks
  951. make player execute command "particle happyVillager ~ ~5.4 ~ 0 0 0 0.6 10 10"
  952. wait 2 ticks
  953. make player execute command "particle happyVillager ~ ~5.2 ~ 0 0 0 0.6 10 10"
  954. wait 2 ticks
  955. make player execute command "particle happyVillager ~ ~5 ~ 0 0 0 0.6 10 10"
  956. wait 2 ticks
  957. make player execute command "particle happyVillager ~ ~4.8 ~ 0 0 0 0.6 10 10"
  958. wait 2 ticks
  959. make player execute command "particle happyVillager ~ ~4.6 ~ 0 0 0 0.6 10 10"
  960. wait 2 ticks
  961. make player execute command "particle happyVillager ~ ~4.4 ~ 0 0 0 0.6 10 10"
  962. wait 2 ticks
  963. make player execute command "particle happyVillager ~ ~4.2 ~ 0 0 0 0.6 10 10"
  964. wait 2 ticks
  965. make player execute command "particle happyVillager ~ ~4 ~ 0 0 0 0.6 10 10"
  966. wait 2 ticks
  967. make player execute command "particle happyVillager ~ ~3.8 ~ 0 0 0 0.6 10 10"
  968. wait 2 ticks
  969. make player execute command "particle happyVillager ~ ~3.6 ~ 0 0 0 0.6 10 10"
  970. wait 2 ticks
  971. make player execute command "particle happyVillager ~ ~3.4 ~ 0 0 0 0.6 10 10"
  972. wait 2 ticks
  973. make player execute command "particle happyVillager ~ ~3.2 ~ 0 0 0 0.6 10 10"
  974. wait 2 ticks
  975. make player execute command "particle happyVillager ~ ~3 ~ 0 0 0 0.6 10 10"
  976. wait 2 ticks
  977. make player execute command "particle happyVillager ~ ~2.8 ~ 0 0 0 0.6 10 10"
  978. wait 2 ticks
  979. make player execute command "particle happyVillager ~ ~2.6 ~ 0 0 0 0.6 10 10"
  980. wait 2 ticks
  981. make player execute command "particle happyVillager ~ ~2.4 ~ 0 0 0 0.6 10 10"
  982. wait 2 ticks
  983. make player execute command "particle happyVillager ~ ~2.2 ~ 0 0 0 0.6 10 10"
  984. wait 2 ticks
  985. make player execute command "particle happyVillager ~ ~2 ~ 0 0 0 0.6 10 10"
  986. wait 2 ticks
  987. make player execute command "particle happyVillager ~ ~1.8 ~ 0 0 0 0.6 10 10"
  988. wait 2 ticks
  989. make player execute command "particle happyVillager ~ ~1.6 ~ 0 0 0 0.6 10 10"
  990. wait 2 ticks
  991. make player execute command "particle happyVillager ~ ~1.4 ~ 0 0 0 0.6 10 10"
  992. wait 2 ticks
  993. make player execute command "particle happyVillager ~ ~1.2 ~ 0 0 0 0.6 10 10"
  994. wait 2 ticks
  995. make player execute command "particle flame ~ ~1 ~ 0 0 0 0.1 100 10"
  996. remove 1 from {rbdiamondkey.%player%}
  997. execute console command "hd setline diamond_box 1 &b&l%player% Found"
  998. execute console command "hd addline diamond_box &eA %{_diamond}%"
  999. message "&6You have found: &a%{_diamond}%" to player
  1000. give {_diamond} to player
  1001. execute console command "/manudelp %player% minecraft.command.particle"
  1002. wait 15 seconds
  1003. execute console command "hd setline diamond_box 1 &b&lDiamond Crate"
  1004. execute console command "hd setline diamond_box 2 &eRight Click for open"
  1005. set {rbopen.diamond} to 0
  1006. stop trigger
  1007. else:
  1008. message "&cyou don't have a key to diamond crate" to player
  1009. stop trigger
  1010. else:
  1011. message "{@Prefix} the admin/owner do not have set a groupmode" to player
  1012. stop trigger
  1013. else:
  1014. message "{@Prefix} you have not permission" to player
  1015. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment