SHARE
TWEET

startup

a guest Oct 12th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2. term.clear()
  3. term.setCursorPos(2,2)
  4. term.setTextColor(colors.blue)
  5. term.write("Benvenuto allo shop")
  6. term.setCursorPos(2,4)
  7. term.setTextColor(colors.orange)
  8. term.write("[ assalto  ]")
  9. term.setCursorPos(2,6)
  10. term.write("[  pompa   ]")
  11. term.setCursorPos(2,8)
  12. term.write("[ supporto ]")
  13. term.setCursorPos(2,10)
  14. term.write("[ cecchini ]")
  15. term.setCursorPos(2,12)
  16. term.write("[ pistole  ]")
  17. term.setCursorPos(2,14)
  18. term.write("[  altro   ]")
  19. term.setCursorPos(2,16)
  20. term.write("[  mirini  ]")
  21.  
  22.     local event, button, x, y = os.pullEvent( "mouse_click" )
  23.        if x >= 2 and x <= 13 and y == 4 then
  24.    while true do    
  25. term.clear()
  26. term.setTextColor(colors.blue)
  27. term.setCursorPos(2,2)
  28. term.write("Armi di assalto")
  29. term.setTextColor(colors.orange)
  30. term.setCursorPos(2,4)
  31. term.write("[ HK G3     --- 5l ]")
  32. term.setCursorPos(2,6)
  33. term.write("[ HK416A5   --- 5l ]")
  34. term.setCursorPos(2,8)
  35. term.write("[ TAR-21    --- 5l ]")
  36. term.setCursorPos(2,10)
  37. term.write("[ AUG       --- 5l ]")
  38. term.setCursorPos(2,12)
  39. term.write("[ R.ACR     --- 5l ]")
  40. term.setCursorPos(2,14)
  41. term.write("[ K.Vector  --- 4l ]")
  42. term.setCursorPos(2,16)
  43. term.write("[ AN-94     --- 5l ]")
  44. term.setCursorPos(26,4)
  45. term.write("[ M16A4     --- 5l ]")
  46. term.setCursorPos(26,6)
  47. term.write("[ Famas-G2  --- 5l ]")
  48. term.setCursorPos(26,8)
  49. term.write("[ AK-74     --- 5l ]")
  50. term.setCursorPos(26,10)
  51. term.write("[ HK-MP5    --- 4l ]")
  52. term.setCursorPos(26,12)
  53. term.write("[ FN-P90    --- 5l ]")
  54. term.setCursorPos(26,14)
  55. term.write("[ HK-M27IAR --- 5l ]")
  56. term.setCursorPos(26,16)
  57. term.write("[ AKMN      --- 5l ]")
  58. term.setTextColor(colors.red)
  59. term.setCursorPos(22,4)
  60. term.write("[1]")
  61. term.setCursorPos(22,6)
  62. term.write("[1]")
  63. term.setCursorPos(22,8)
  64. term.write("[1]")
  65. term.setCursorPos(22,10)
  66. term.write("[1]")
  67. term.setCursorPos(22,12)
  68. term.write("[1]")
  69. term.setCursorPos(22,14)
  70. term.write("[1]")
  71. term.setCursorPos(22,16)
  72. term.write("[1]")
  73. term.setCursorPos(46,4)
  74. term.write("[1]")
  75. term.setCursorPos(46,6)
  76. term.write("[1]")
  77. term.setCursorPos(46,8)
  78. term.write("[1]")
  79. term.setCursorPos(46,10)
  80. term.write("[1]")
  81. term.setCursorPos(46,12)
  82. term.write("[1]")
  83. term.setCursorPos(46,14)
  84. term.write("[1]")
  85. term.setCursorPos(46,16)
  86. term.write("[1]")
  87. term.setTextColor(colors.orange)
  88. term.setCursorPos(42,18)
  89. term.write("[ back ]")
  90. local event,button,x,y = os.pullEvent("mouse_click")
  91. if x >= 42 and x <= 50 and y == 18 then
  92. break
  93. end
  94.  
  95. repeat
  96. local event,button,x,y = os.pullEvent("mouse_click")
  97.  
  98. if x >= 2 and x <= 21 and y == 4 then
  99. commands.exec("give @p[lm=5] mw:g3")
  100. commands.exec("xp -5l @p[lm=5]")
  101. elseif x >= 2 and x <= 21 and y == 6 then
  102. commands.exec("give @p[lm=5] mw:hk416a5")
  103. commands.exec("xp -5l @p[lm=5]")
  104. elseif x >= 2 and x <= 21 and y == 8 then
  105. commands.exec("give @p[lm=5] mw:tar21")
  106. commands.exec("xp -5l @p[lm=5]")
  107. elseif x >= 2 and x <= 21 and y == 10 then
  108. commands.exec("give @p[lm=5] mw:aug")
  109. commands.exec("xp -5l @p[lm=5]")
  110. elseif x >= 2 and x <= 21 and y == 12 then
  111. commands.exec("give @p[lm=5] mw:acr")
  112. commands.exec("xp -5l @p[lm=5]")
  113. elseif x >= 2 and x <= 21 and y == 14 then
  114. commands.exec("give @p[lm=4] mw:krissvector")
  115. commands.exec("xp -4l @p[lm=4]")
  116. elseif x >= 2 and x <= 21 and y == 16 then
  117. commands.exec("give @p[lm=5] mw:an94")
  118. commands.exec("xp -5l @p[lm=5]")
  119. elseif x >= 22 and x <= 23 and y == 4 then
  120. commands.exec("give @p[lm=1] mw:g3mag 1")
  121. commands.exec("xp -1l @p[lm=1]")
  122. elseif x >= 22 and x <= 23 and y == 6 then
  123. commands.exec("give @p[lm=1] mw:natomag2 1")
  124. commands.exec("xp -1l @p[lm=1]")
  125. elseif x >= 22 and x <= 23 and y == 8 then
  126. commands.exec("give @p[lm=1] mw:natomag1 1")
  127. commands.exec("xp -1l @p[lm=1]")
  128. elseif x >= 22 and x <= 23 and y == 10 then
  129. commands.exec("give @p[lm=1] mw:natomag1 1")
  130. commands.exec("xp -1l @p[lm=1]")
  131. elseif x >= 22 and x <= 23 and y == 12 then
  132. commands.exec("give @p[lm=1] mw:natomag2 1")
  133. commands.exec("xp -1l @p[lm=1]")
  134. elseif x >= 22 and x <= 23 and y == 14 then
  135. commands.exec("give @p[lm=1] mw:vectormag 1")
  136. commands.exec("xp -1l @p[lm=1]")
  137. elseif x >= 22 and x <= 23 and y == 16 then
  138. commands.exec("give @p[lm=1] mw:ak74mmag")
  139. commands.exec("xp -1l @p[lm=1]")
  140. elseif x >= 26 and x <= 45 and y == 4 then
  141. commands.exec("give @p[lm=5] mw:m16a4")
  142. commands.exec("xp -5l @p[lm=5]")
  143. elseif x >= 26 and x <= 45 and y == 6 then
  144. commands.exec("give @p[lm=5] mw:famasg2")
  145. commands.exec("xp -5l @p[lm=5]")
  146. elseif x >= 26 and x <= 45 and y == 8 then
  147. commands.exec("give @p[lm=5] mw:ak-74")
  148. commands.exec("xp -5l @p[lm=5]")
  149. elseif x >= 26 and x <= 45 and y == 10 then
  150. commands.exec("give @p[lm=4] mw:hkmp5sd")
  151. commands.exec("xp -4l @p[lm=4]")
  152. elseif x >= 26 and x <= 45 and y == 12 then
  153. commands.exec("give @p[lm=5] mw:fnp90")
  154. commands.exec("xp -5l @p[lm=5]")
  155. elseif x >= 26 and x <= 45 and y == 14 then
  156. commands.exec("give @p[lm=5] mw:hkm27iar")
  157. commands.exec("xp -5l @p[lm=5]")
  158. elseif x >= 26 and x <= 45 and y == 16 then
  159. commands.exec("give @p[lm=5] mw:hkmn")
  160. commands.exec("xp -5l @p[lm=5]")
  161. elseif x >= 46 and x <= 47 and y == 4 then
  162. commands.exec("give @p[lm=1] mw:natomag2 1")
  163. commands.exec("xp -1l @p[lm=1]")
  164. elseif x >= 46 and x <= 47 and y == 6 then
  165. commands.exec("give @p[lm=1] mw:natomag1 1")
  166. commands.exec("xp -1l @p[lm=1]")
  167. elseif x >= 46 and x <= 47 and y == 8 then
  168. commands.exec("give @p[lm=1] mw:aks74umag 1")
  169. commands.exec("xp -1l @p[lm=1]")
  170. elseif x >= 46 and x <= 47 and y == 10 then
  171. commands.exec("give @p[lm=1] mw:mp5kmag 1")
  172. commands.exec("xp -1l @p[lm=1]")
  173. elseif x >= 46 and x <= 47 and y == 12 then
  174. commands.exec("give @p[lm=1] mw:fnp90mag 1")
  175. commands.exec("xp -1l @p[lm=1]")
  176. elseif x >= 46 and x <= 47 and y == 14 then
  177. commands.exec("give @p[lm=1] mw:natomag2 1")
  178. commands.exec("xp -1l @p[lm=1]")
  179. elseif x >= 46 and x <= 47 and y == 16 then
  180. commands.exec("give @p[lm=1] mw:pmag762x39 1")
  181. commands.exec("xp -1l @p[lm=1]")
  182.  
  183. end
  184. until x >= 42 and x <= 50 and y == 18
  185. end
  186.  
  187. elseif x >= 2 and x <= 13 and y == 6 then
  188.    while true do    
  189. term.clear()
  190. term.setTextColor(colors.blue)
  191. term.setCursorPos(2,2)
  192. term.write("Fucili a pompa")
  193. term.setTextColor(colors.orange)
  194. term.setCursorPos(2,4)
  195. term.write("[ QBS-09  ---  7l ]")
  196. term.setCursorPos(2,6)
  197. term.write("[ KSG-12  ---  7l ]")
  198. term.setCursorPos(2,8)
  199. term.write("[ M1014   ---  7l ]")
  200. term.setCursorPos(2,10)
  201. term.setTextColor(colors.red)
  202. term.setCursorPos(22,4)
  203. term.write("[5]")
  204. term.setTextColor(colors.orange)
  205. term.setCursorPos(42,18)
  206. term.write("[ back ]")
  207. local event,button,x,y = os.pullEvent("mouse_click")
  208. if x >= 42 and x <= 50 and y == 18 then
  209. break
  210. end
  211.  
  212. repeat
  213. local event,button,x,y = os.pullEvent("mouse_click")
  214.  
  215. if x >= 2 and x <= 21 and y == 4 then
  216. commands.exec("give @p[lm=7] mw:qbs09")
  217. commands.exec("xp -7l @p[lm=7]")
  218. elseif x >= 2 and x <= 21 and y == 6 then
  219. commands.exec("give @p[lm=5] mw:ksg12")
  220. commands.exec("xp -7l @p[lm=7]")
  221. elseif x >= 2 and x <= 21 and y == 8 then
  222. commands.exec("give @p[lm=7] mw:m1014")
  223. commands.exec("xp -7l @p[lm=7]")
  224. elseif x >= 22 and x <= 23 and y == 4 then
  225. commands.exec("give @p[lm=5] mw:shotgunshell 7")
  226. commands.exec("xp -5l @p[lm=5]")
  227.  
  228. end
  229. until x >= 42 and x <= 50 and y == 18
  230. end
  231.  
  232. elseif x >= 2 and x <= 13 and y == 8 then
  233.    while true do    
  234. term.clear()
  235. term.setTextColor(colors.blue)
  236. term.setCursorPos(2,2)
  237. term.write("Fucili di supporto")
  238. term.setTextColor(colors.orange)
  239. term.setCursorPos(2,4)
  240. term.write("[ M240 SAW---  8l ]")
  241. term.setCursorPos(2,6)
  242. term.write("[ M249 SAW---  8l ]")
  243. term.setCursorPos(2,8)
  244. term.write("[ FNminimi---  8l ]")
  245. term.setCursorPos(2,10)
  246. term.setTextColor(colors.red)
  247. term.setCursorPos(22,4)
  248. term.write("[3]")
  249. term.setCursorPos(22,6)
  250. term.write("[3]")
  251. term.setCursorPos(22,8)
  252. term.write("[3]")
  253. term.setTextColor(colors.orange)
  254. term.setCursorPos(42,18)
  255. term.write("[ back ]")
  256. local event,button,x,y = os.pullEvent("mouse_click")
  257. if x >= 42 and x <= 50 and y == 18 then
  258. break
  259. end
  260.  
  261. repeat
  262. local event,button,x,y = os.pullEvent("mouse_click")
  263.  
  264. if x >= 2 and x <= 21 and y == 4 then
  265. commands.exec("give @p[lm=8] mw:m240")
  266. commands.exec("xp -8l @p[lm=8]")
  267. elseif x >= 2 and x <= 21 and y == 6 then
  268. commands.exec("give @p[lm=8] mw:m249")
  269. commands.exec("xp -8l @p[lm=8]")
  270. elseif x >= 2 and x <= 21 and y == 8 then
  271. commands.exec("give @p[lm=8] mw:minimi")
  272. commands.exec("xp -8l @p[lm=8]")
  273. elseif x >= 22 and x <= 23 and y == 4 then
  274. commands.exec("give @p[lm=3] mw:m240mag 1")
  275. commands.exec("xp -3l @p[lm=3]")
  276. elseif x >= 22 and x <= 23 and y == 6 then
  277. commands.exec("give @p[lm=3] mw:m249mag 1")
  278. commands.exec("xp -3l @p[lm=3]")
  279. elseif x >= 22 and x <= 23 and y == 8 then
  280. commands.exec("give @p[lm=3] mw:m249mag 1")
  281. commands.exec("xp -3l @p[lm=3]")
  282.  
  283.  
  284. end
  285. until x >= 42 and x <= 50 and y == 18
  286. end
  287.  
  288.  
  289.  
  290. elseif x >= 2 and x <= 13 and y == 10 then
  291.    while true do    
  292. term.clear()
  293. term.setTextColor(colors.blue)
  294. term.setCursorPos(2,2)
  295. term.write("Fucili da cecchino")
  296. term.setTextColor(colors.orange)
  297. term.setCursorPos(2,4)
  298. term.write("[ VSS V. ---  10l ]")
  299. term.setCursorPos(2,6)
  300. term.write("[ M110   ---  10l ]")
  301. term.setCursorPos(2,8)
  302. term.write("[ SV98   ---  10l ]")
  303. term.setCursorPos(2,10)
  304. term.write("[ HECATEI---  15l ]")
  305. term.setCursorPos(2,12)
  306. term.write("[ BARRET ---  13l ]")
  307. term.setCursorPos(2,10)
  308. term.setTextColor(colors.red)
  309. term.setCursorPos(22,4)
  310. term.write("[2]")
  311. term.setCursorPos(22,6)
  312. term.write("[2]")
  313. term.setCursorPos(22,8)
  314. term.write("[2]")
  315. term.setCursorPos(22,10)
  316. term.write("[2]")
  317. term.setCursorPos(22,12)
  318. term.write("[2]")
  319. term.setTextColor(colors.orange)
  320. term.setCursorPos(42,18)
  321. term.write("[ back ]")
  322. local event,button,x,y = os.pullEvent("mouse_click")
  323. if x >= 42 and x <= 50 and y == 18 then
  324. break
  325. end
  326.  
  327. repeat
  328. local event,button,x,y = os.pullEvent("mouse_click")
  329.  
  330. if x >= 2 and x <= 21 and y == 4 then
  331. commands.exec("give @p[lm=10] mw:vssvintorez")
  332. commands.exec("xp -10l @p[lm=10]")
  333. elseif x >= 2 and x <= 21 and y == 6 then
  334. commands.exec("give @p[lm=10] mw:m110")
  335. commands.exec("xp -10l @p[lm=10]")
  336. elseif x >= 2 and x <= 21 and y == 8 then
  337. commands.exec("give @p[lm=10] mw:sv98")
  338. commands.exec("xp -10l @p[lm=10]")
  339. elseif x >= 2 and x <= 21 and y == 10 then
  340. commands.exec("give @p[lm=15] mw:hecateii")
  341. commands.exec("xp -15l @p[lm=15]")
  342. elseif x >= 2 and x <= 21 and y == 12 then
  343. commands.exec("give @p[lm=13] mw:m107")
  344. commands.exec("xp -13l @p[lm=13]")
  345.  
  346. elseif x >= 22 and x <= 23 and y == 4 then
  347. commands.exec("give @p[lm=2] mw:vssvintorezmag 1")
  348. commands.exec("xp -2l @p[lm=2]")
  349. elseif x >= 22 and x <= 23 and y == 6 then
  350. commands.exec("give @p[lm=2] mw:m110mag 1")
  351. commands.exec("xp -2l @p[lm=2]")
  352. elseif x >= 22 and x <= 23 and y == 8 then
  353. commands.exec("give @p[lm=2] mw:sv98mag 1")
  354. commands.exec("xp -2l @p[lm=2]")
  355. elseif x >= 22 and x <= 23 and y == 10 then
  356. commands.exec("give @p[lm=2] mw:hecateiimag 1")
  357. commands.exec("xp -2l @p[lm=2]")
  358. elseif x >= 22 and x <= 23 and y == 12 then
  359. commands.exec("give @p[lm=2] mw:m107bmag 1")
  360. commands.exec("xp -2l @p[lm=2]")
  361.  
  362.  
  363. end
  364. until x >= 42 and x <= 50 and y == 18
  365. end
  366.  
  367.  
  368. elseif x >= 2 and x <= 13 and y == 12 then
  369. while true do    
  370. term.clear()
  371. term.setTextColor(colors.blue)
  372. term.setCursorPos(2,2)
  373. term.write("Pistole")
  374. term.setTextColor(colors.orange)
  375. term.setCursorPos(2,4)
  376. term.write("[ M9-SD   ---  5l ]")
  377. term.setCursorPos(2,6)
  378. term.write("[ GLOCK18 ---  3l ]")
  379. term.setCursorPos(2,8)
  380. term.write("[ D.EAGLE ---  3l ]")
  381. term.setCursorPos(2,10)
  382. term.setTextColor(colors.red)
  383. term.setCursorPos(22,4)
  384. term.write("[1]")
  385. term.setCursorPos(22,6)
  386. term.write("[1]")
  387. term.setCursorPos(22,8)
  388. term.write("[1]")
  389. term.setTextColor(colors.orange)
  390. term.setCursorPos(42,18)
  391. term.write("[ back ]")
  392. local event,button,x,y = os.pullEvent("mouse_click")
  393. if x >= 42 and x <= 50 and y == 18 then
  394. break
  395. end
  396.  
  397. repeat
  398. local event,button,x,y = os.pullEvent("mouse_click")
  399.  
  400. if x >= 2 and x <= 21 and y == 4 then
  401. commands.exec("give @p[lm=5] mw:m9sd")
  402. commands.exec("xp -5l @p[lm=5]")
  403. elseif x >= 2 and x <= 21 and y == 6 then
  404. commands.exec("give @p[lm=3] mw:glock18")
  405. commands.exec("xp -3l @p[lm=3]")
  406. elseif x >= 2 and x <= 21 and y == 8 then
  407. commands.exec("give @p[lm=3] mw:deagle50")
  408. commands.exec("xp -3l @p[lm=3]")
  409. elseif x >= 22 and x <= 23 and y == 4 then
  410. commands.exec("give @p[lm=1] mw:m9berettamag 1")
  411. commands.exec("xp -1l @p[lm=1]")
  412. elseif x >= 22 and x <= 23 and y == 6 then
  413. commands.exec("give @p[lm=1] mw:g18mag 1")
  414. commands.exec("xp -1l @p[lm=1]")
  415. elseif x >= 22 and x <= 23 and y == 8 then
  416. commands.exec("give @p[lm=1] mw:deagle50mag 1")
  417. commands.exec("xp -1l @p[lm=1]")
  418.  
  419.  
  420. end
  421. until x >= 42 and x <= 50 and y == 18
  422. end
  423.  
  424.  
  425. elseif x >= 2 and x <= 13 and y == 14 then
  426.    while true do    
  427. term.clear()
  428. term.setTextColor(colors.blue)
  429. term.setCursorPos(2,2)
  430. term.write("Altro")
  431. term.setTextColor(colors.orange)
  432. term.setCursorPos(2,4)
  433. term.write("[ RPG     ---  20l ]")
  434. term.setCursorPos(2,6)
  435. term.write("[ CINTURA ---   7l ]")
  436. term.setCursorPos(2,8)
  437. term.write("[ SACCA   ---   7l ]")
  438. term.setCursorPos(2,10)
  439. term.write("[ BINOCOLO---   5l ]")
  440. term.setTextColor(colors.red)
  441. term.setCursorPos(22,4)
  442. term.write("[5]")
  443. term.setTextColor(colors.orange)
  444. term.setCursorPos(42,18)
  445. term.write("[ back ]")
  446. local event,button,x,y = os.pullEvent("mouse_click")
  447. if x >= 42 and x <= 50 and y == 18 then
  448. break
  449. end
  450.  
  451. repeat
  452. local event,button,x,y = os.pullEvent("mouse_click")
  453.  
  454. if x >= 2 and x <= 21 and y == 4 then
  455. commands.exec("give @p[lm=20] mw:smaw")
  456. commands.exec("xp -20l @p[lm=20]")
  457. elseif x >= 2 and x <= 21 and y == 6 then
  458. commands.exec("give @p[lm=7] toolbelt:belt")
  459. commands.exec("xp -7l @p[lm=7]")
  460. elseif x >= 2 and x <= 21 and y == 8 then
  461. commands.exec("give @p[lm=7] toolbelt:pouch")
  462. commands.exec("xp -7l @p[lm=7]")
  463. elseif x >= 2 and x <= 21 and y == 10 then
  464. commands.exec("give @p[lm=5] binocular:binocular")
  465. commands.exec("xp -5l @p[lm=5]")
  466.  
  467. elseif x >= 22 and x <= 23 and y == 4 then
  468. commands.exec("give @p[lm=5] mw:smawrocket 1")
  469. commands.exec("xp -5l @p[lm=5]")
  470.  
  471.  
  472. end
  473. until x >= 42 and x <= 50 and y == 18
  474. end
  475.  
  476.  
  477. elseif x >= 2 and x <= 13 and y == 16 then
  478.    while true do    
  479. term.clear()
  480. term.setTextColor(colors.blue)
  481. term.setCursorPos(2,2)
  482. term.write("Altro")
  483. term.setTextColor(colors.orange)
  484. term.setCursorPos(2,4)
  485. term.write("[ REFLEX   ---   3l ]")
  486. term.setCursorPos(2,6)
  487. term.write("[ ACOG     ---   3l ]")
  488. term.setCursorPos(2,8)
  489. term.write("[ HOLO     ---   3l ]")
  490. term.setCursorPos(2,10)
  491. term.write("[ OTTICA   ---   3l ]")
  492. term.setCursorPos(2,12)
  493. term.write("[ OTTICA2  ---   3l ]")
  494. term.setCursorPos(2,14)
  495. term.write("[ 1-6x24   ---   3l ]")
  496. term.setCursorPos(2,16)
  497. term.write("[ 3-9x40   ---   3l ]")
  498. term.setCursorPos(24,4)
  499. term.write("[ LASER 1  ---   3l ]")
  500. term.setCursorPos(24,6)
  501. term.write("[ LASER 2  ---   3l ]")
  502. term.setCursorPos(24,8)
  503. term.write("[ GRIP 1   ---   3l ]")
  504. term.setCursorPos(24,10)
  505. term.write("[ GRIP 2   ---   3l ]")
  506. term.setCursorPos(24,12)
  507. term.write("[ BIPODE   ---   3l ]")
  508. term.setCursorPos(42,18)
  509. term.write("[ back ]")
  510. local event,button,x,y = os.pullEvent("mouse_click")
  511. if x >= 42 and x <= 50 and y == 18 then
  512. break
  513. end
  514. repeat
  515. local event,button,x,y = os.pullEvent("mouse_click")
  516. if x >= 2 and x <= 21 and y == 4 then
  517. commands.exec("give @p[lm=3] mw:reflex")
  518. commands.exec("xp -3l @p[lm=3]")
  519. elseif x >= 2 and x <= 21 and y == 6 then
  520. commands.exec("give @p[lm=3] mw:acog")
  521. commands.exec("xp -3l @p[lm=3]")
  522. elseif x >= 2 and x <= 21 and y == 8 then
  523. commands.exec("give @p[lm=3] mw:holographic")
  524. commands.exec("xp -3l @p[lm=3]")
  525. elseif x >= 2 and x <= 21 and y == 10 then
  526. commands.exec("give @p[lm=3] mw:pso1")
  527. commands.exec("xp -3l @p[lm=3]")
  528. elseif x >= 2 and x <= 21 and y == 12 then
  529. commands.exec("give @p[lm=3] mw:leupold")
  530. commands.exec("xp -3l @p[lm=3]")
  531. elseif x >= 2 and x <= 21 and y == 14 then
  532. commands.exec("give @p[lm=3] mw:lpscope")
  533. commands.exec("xp -3l @p[lm=3]")
  534. elseif x >= 2 and x <= 21 and y == 16 then
  535. commands.exec("give @p[lm=3] mw:hpscope")
  536. commands.exec("xp -3l @p[lm=3]")
  537. elseif x >= 26 and x <= 45 and y == 4 then
  538. commands.exec("give @p[lm=3] mw:laser2")
  539. commands.exec("xp -3l @p[lm=3]")
  540. elseif x >= 26 and x <= 45 and y == 6 then
  541. commands.exec("give @p[lm=3] mw:laser")
  542. commands.exec("xp -3l @p[lm=3]")
  543. elseif x >= 26 and x <= 45 and y == 8 then
  544. commands.exec("give @p[lm=3] mw:grip2")
  545. commands.exec("xp -3l @p[lm=3]")
  546. elseif x >= 26 and x <= 45 and y == 10 then
  547. commands.exec("give @p[lm=3] mw:vgrip")
  548. commands.exec("xp -3l @p[lm=3]")
  549. elseif x >= 26 and x <= 45 and y == 12 then
  550. commands.exec("give @p[lm=3] mw:bipod")
  551. commands.exec("xp -3l @p[lm=3]")
  552. end
  553. until x >= 42 and x <= 50 and y == 18
  554. end
  555. end
  556. end
RAW Paste Data
Top