Advertisement
LeviTheOtaku

[REL] Cosette GUI

Dec 4th, 2017
1,186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 23.79 KB | None | 0 0
  1. local CosetteGui = Instance.new("ScreenGui")
  2. local DecoFrame = Instance.new("Frame")
  3. local MainFrame = Instance.new("Frame")
  4. local PlayersFrame = Instance.new("ScrollingFrame")
  5. local ItemsFrame = Instance.new("ScrollingFrame")
  6. local KitsFrame = Instance.new("ScrollingFrame")
  7. local FALButton = Instance.new("TextButton")
  8. local M14Button = Instance.new("TextButton")
  9. local M17Button = Instance.new("TextButton")
  10. local G3Button = Instance.new("TextButton")
  11. local HK21Button = Instance.new("TextButton")
  12. local HK417Button = Instance.new("TextButton")
  13. local AK47Button = Instance.new("TextButton")
  14. local AKMButton = Instance.new("TextButton")
  15. local AK108Button = Instance.new("TextButton")
  16. local AK12Button = Instance.new("TextButton")
  17. local RPKButton = Instance.new("TextButton")
  18. local OTs14Button = Instance.new("TextButton")
  19. local PatriotButton = Instance.new("TextButton")
  20. local SCARLButton = Instance.new("TextButton")
  21. local G36KButton = Instance.new("TextButton")
  22. local M4A1Button = Instance.new("TextButton")
  23. local GadgetsButton = Instance.new("TextButton")
  24. local HealthButton = Instance.new("TextButton")
  25. local CarRepairButton = Instance.new("TextButton")
  26. local BaseButton = Instance.new("TextButton")
  27. local FoodButton = Instance.new("TextButton")
  28. local PlayersLabel = Instance.new("TextLabel")
  29. local ItemsLabel = Instance.new("TextLabel")
  30. local KitsLabel = Instance.new("TextLabel")
  31. local ItemsSearchBox = Instance.new("TextBox")
  32. local TitleLabel = Instance.new("TextLabel")
  33. local TransparencySlider = Instance.new("Frame")
  34. local TransparencyFill = Instance.new("Frame")
  35.  
  36. CosetteGui.Name = "CosetteGui"
  37. CosetteGui.Parent = game.CoreGui
  38.  
  39. DecoFrame.Name = "DecoFrame"
  40. DecoFrame.Parent = CosetteGui
  41. DecoFrame.BackgroundColor3 = Color3.new(0.219608, 0.219608, 0.219608)
  42. DecoFrame.BorderSizePixel = 0
  43. DecoFrame.Position = UDim2.new(0.25, 0, 0.25, 0)
  44. DecoFrame.Size = UDim2.new(0.5, 0, 0.5, 0)
  45.  
  46. MainFrame.Name = "MainFrame"
  47. MainFrame.Parent = DecoFrame
  48. MainFrame.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  49. MainFrame.BorderSizePixel = 0
  50. MainFrame.Position = UDim2.new(0.0500000007, 0, 0.200000003, 0)
  51. MainFrame.Size = UDim2.new(0.899999976, 0, 0.699999988, 0)
  52.  
  53. PlayersFrame.Name = "PlayersFrame"
  54. PlayersFrame.Parent = MainFrame
  55. PlayersFrame.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  56. PlayersFrame.BorderColor3 = Color3.new(1, 1, 1)
  57. PlayersFrame.BorderSizePixel = 2
  58. PlayersFrame.Position = UDim2.new(0, 0, 0.100000001, 0)
  59. PlayersFrame.Size = UDim2.new(0.400000006, 0, 0.899999976, 0)
  60. PlayersFrame.ZIndex = 2
  61. PlayersFrame.CanvasSize = UDim2.new(0, 0, 500, 0)
  62. PlayersFrame.ScrollBarThickness = 0
  63.  
  64. ItemsFrame.Name = "ItemsFrame"
  65. ItemsFrame.Parent = MainFrame
  66. ItemsFrame.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  67. ItemsFrame.BorderColor3 = Color3.new(1, 1, 1)
  68. ItemsFrame.BorderSizePixel = 2
  69. ItemsFrame.Position = UDim2.new(0.400000006, 0, 0.200000003, 0)
  70. ItemsFrame.Size = UDim2.new(0.300000012, 0, 0.800000012, 0)
  71. ItemsFrame.CanvasSize = UDim2.new(0, 0, 500, 0)
  72. ItemsFrame.ScrollBarThickness = 0
  73.  
  74. KitsFrame.Name = "KitsFrame"
  75. KitsFrame.Parent = MainFrame
  76. KitsFrame.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
  77. KitsFrame.BorderColor3 = Color3.new(1, 1, 1)
  78. KitsFrame.BorderSizePixel = 2
  79. KitsFrame.Position = UDim2.new(0.699999988, 0, 0.100000001, 0)
  80. KitsFrame.Size = UDim2.new(0.300000012, 0, 0.899999976, 0)
  81. KitsFrame.ZIndex = 2
  82. KitsFrame.CanvasSize = UDim2.new(0, 0, 500, 0)
  83. KitsFrame.ScrollBarThickness = 0
  84.  
  85. FALButton.Name = "FALButton"
  86. FALButton.Parent = KitsFrame
  87. FALButton.BackgroundColor3 = Color3.new(0, 0, 0)
  88. FALButton.BorderSizePixel = 0
  89. FALButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  90. FALButton.ZIndex = 3
  91. FALButton.Font = Enum.Font.ArialBold
  92. FALButton.FontSize = Enum.FontSize.Size18
  93. FALButton.Text = "FAL Kit"
  94. FALButton.TextColor3 = Color3.new(1, 1, 1)
  95. FALButton.TextSize = 18
  96.  
  97. M14Button.Name = "M14Button"
  98. M14Button.Parent = KitsFrame
  99. M14Button.BackgroundColor3 = Color3.new(0, 0, 0)
  100. M14Button.BorderSizePixel = 0
  101. M14Button.Position = UDim2.new(0, 0, 0.000500000024, 0)
  102. M14Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  103. M14Button.ZIndex = 3
  104. M14Button.Font = Enum.Font.ArialBold
  105. M14Button.FontSize = Enum.FontSize.Size18
  106. M14Button.Text = "M14 Kit"
  107. M14Button.TextColor3 = Color3.new(1, 1, 1)
  108. M14Button.TextSize = 18
  109.  
  110. M17Button.Name = "M17Button"
  111. M17Button.Parent = KitsFrame
  112. M17Button.BackgroundColor3 = Color3.new(0, 0, 0)
  113. M17Button.BorderSizePixel = 0
  114. M17Button.Position = UDim2.new(0, 0, 0.00100000005, 0)
  115. M17Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  116. M17Button.ZIndex = 3
  117. M17Button.Font = Enum.Font.ArialBold
  118. M17Button.FontSize = Enum.FontSize.Size18
  119. M17Button.Text = "M17 Kit"
  120. M17Button.TextColor3 = Color3.new(1, 1, 1)
  121. M17Button.TextSize = 18
  122.  
  123. G3Button.Name = "G3Button"
  124. G3Button.Parent = KitsFrame
  125. G3Button.BackgroundColor3 = Color3.new(0, 0, 0)
  126. G3Button.BorderSizePixel = 0
  127. G3Button.Position = UDim2.new(0, 0, 0.00150000001, 0)
  128. G3Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  129. G3Button.ZIndex = 3
  130. G3Button.Font = Enum.Font.ArialBold
  131. G3Button.FontSize = Enum.FontSize.Size18
  132. G3Button.Text = "G3 Kit"
  133. G3Button.TextColor3 = Color3.new(1, 1, 1)
  134. G3Button.TextSize = 18
  135.  
  136. HK21Button.Name = "HK21Button"
  137. HK21Button.Parent = KitsFrame
  138. HK21Button.BackgroundColor3 = Color3.new(0, 0, 0)
  139. HK21Button.BorderSizePixel = 0
  140. HK21Button.Position = UDim2.new(0, 0, 0.00200000009, 0)
  141. HK21Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  142. HK21Button.ZIndex = 3
  143. HK21Button.Font = Enum.Font.ArialBold
  144. HK21Button.FontSize = Enum.FontSize.Size18
  145. HK21Button.Text = "HK21 Kit"
  146. HK21Button.TextColor3 = Color3.new(1, 1, 1)
  147. HK21Button.TextSize = 18
  148.  
  149. HK417Button.Name = "HK417Button"
  150. HK417Button.Parent = KitsFrame
  151. HK417Button.BackgroundColor3 = Color3.new(0, 0, 0)
  152. HK417Button.BorderSizePixel = 0
  153. HK417Button.Position = UDim2.new(0, 0, 0.00249999994, 0)
  154. HK417Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  155. HK417Button.ZIndex = 3
  156. HK417Button.Font = Enum.Font.ArialBold
  157. HK417Button.FontSize = Enum.FontSize.Size18
  158. HK417Button.Text = "HK417 Kit"
  159. HK417Button.TextColor3 = Color3.new(1, 1, 1)
  160. HK417Button.TextSize = 18
  161.  
  162. AK47Button.Name = "AK-47Button"
  163. AK47Button.Parent = KitsFrame
  164. AK47Button.BackgroundColor3 = Color3.new(0, 0, 0)
  165. AK47Button.BorderSizePixel = 0
  166. AK47Button.Position = UDim2.new(0, 0, 0.00300000003, 0)
  167. AK47Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  168. AK47Button.ZIndex = 3
  169. AK47Button.Font = Enum.Font.ArialBold
  170. AK47Button.FontSize = Enum.FontSize.Size18
  171. AK47Button.Text = "AK-47 Kit"
  172. AK47Button.TextColor3 = Color3.new(1, 1, 1)
  173. AK47Button.TextSize = 18
  174.  
  175. AKMButton.Name = "AKMButton"
  176. AKMButton.Parent = KitsFrame
  177. AKMButton.BackgroundColor3 = Color3.new(0, 0, 0)
  178. AKMButton.BorderSizePixel = 0
  179. AKMButton.Position = UDim2.new(0, 0, 0.00350000011, 0)
  180. AKMButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  181. AKMButton.ZIndex = 3
  182. AKMButton.Font = Enum.Font.ArialBold
  183. AKMButton.FontSize = Enum.FontSize.Size18
  184. AKMButton.Text = "AKM Kit"
  185. AKMButton.TextColor3 = Color3.new(1, 1, 1)
  186. AKMButton.TextSize = 18
  187.  
  188. AK108Button.Name = "AK-108Button"
  189. AK108Button.Parent = KitsFrame
  190. AK108Button.BackgroundColor3 = Color3.new(0, 0, 0)
  191. AK108Button.BorderSizePixel = 0
  192. AK108Button.Position = UDim2.new(0, 0, 0.00400000019, 0)
  193. AK108Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  194. AK108Button.ZIndex = 3
  195. AK108Button.Font = Enum.Font.ArialBold
  196. AK108Button.FontSize = Enum.FontSize.Size18
  197. AK108Button.Text = "AK-108 Kit"
  198. AK108Button.TextColor3 = Color3.new(1, 1, 1)
  199. AK108Button.TextSize = 18
  200.  
  201. AK12Button.Name = "AK-12Button"
  202. AK12Button.Parent = KitsFrame
  203. AK12Button.BackgroundColor3 = Color3.new(0, 0, 0)
  204. AK12Button.BorderSizePixel = 0
  205. AK12Button.Position = UDim2.new(0, 0, 0.00449999981, 0)
  206. AK12Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  207. AK12Button.ZIndex = 3
  208. AK12Button.Font = Enum.Font.ArialBold
  209. AK12Button.FontSize = Enum.FontSize.Size18
  210. AK12Button.Text = "AK-12 Kit"
  211. AK12Button.TextColor3 = Color3.new(1, 1, 1)
  212. AK12Button.TextSize = 18
  213.  
  214. RPKButton.Name = "RPKButton"
  215. RPKButton.Parent = KitsFrame
  216. RPKButton.BackgroundColor3 = Color3.new(0, 0, 0)
  217. RPKButton.BorderSizePixel = 0
  218. RPKButton.Position = UDim2.new(0, 0, 0.00499999989, 0)
  219. RPKButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  220. RPKButton.ZIndex = 3
  221. RPKButton.Font = Enum.Font.ArialBold
  222. RPKButton.FontSize = Enum.FontSize.Size18
  223. RPKButton.Text = "RPK Kit"
  224. RPKButton.TextColor3 = Color3.new(1, 1, 1)
  225. RPKButton.TextSize = 18
  226.  
  227. OTs14Button.Name = "OTs-14Button"
  228. OTs14Button.Parent = KitsFrame
  229. OTs14Button.BackgroundColor3 = Color3.new(0, 0, 0)
  230. OTs14Button.BorderSizePixel = 0
  231. OTs14Button.Position = UDim2.new(0, 0, 0.00549999997, 0)
  232. OTs14Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  233. OTs14Button.ZIndex = 3
  234. OTs14Button.Font = Enum.Font.ArialBold
  235. OTs14Button.FontSize = Enum.FontSize.Size18
  236. OTs14Button.Text = "OTs-14 Kit"
  237. OTs14Button.TextColor3 = Color3.new(1, 1, 1)
  238. OTs14Button.TextSize = 18
  239.  
  240. PatriotButton.Name = "PatriotButton"
  241. PatriotButton.Parent = KitsFrame
  242. PatriotButton.BackgroundColor3 = Color3.new(0, 0, 0)
  243. PatriotButton.BorderSizePixel = 0
  244. PatriotButton.Position = UDim2.new(0, 0, 0.00600000005, 0)
  245. PatriotButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  246. PatriotButton.ZIndex = 3
  247. PatriotButton.Font = Enum.Font.ArialBold
  248. PatriotButton.FontSize = Enum.FontSize.Size18
  249. PatriotButton.Text = "Patriot Kit"
  250. PatriotButton.TextColor3 = Color3.new(1, 1, 1)
  251. PatriotButton.TextSize = 18
  252.  
  253. SCARLButton.Name = "SCAR-LButton"
  254. SCARLButton.Parent = KitsFrame
  255. SCARLButton.BackgroundColor3 = Color3.new(0, 0, 0)
  256. SCARLButton.BorderSizePixel = 0
  257. SCARLButton.Position = UDim2.new(0, 0, 0.00650000013, 0)
  258. SCARLButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  259. SCARLButton.ZIndex = 3
  260. SCARLButton.Font = Enum.Font.ArialBold
  261. SCARLButton.FontSize = Enum.FontSize.Size18
  262. SCARLButton.Text = "SCAR-L Kit"
  263. SCARLButton.TextColor3 = Color3.new(1, 1, 1)
  264. SCARLButton.TextSize = 18
  265.  
  266. G36KButton.Name = "G36KButton"
  267. G36KButton.Parent = KitsFrame
  268. G36KButton.BackgroundColor3 = Color3.new(0, 0, 0)
  269. G36KButton.BorderSizePixel = 0
  270. G36KButton.Position = UDim2.new(0, 0, 0.00700000022, 0)
  271. G36KButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  272. G36KButton.ZIndex = 3
  273. G36KButton.Font = Enum.Font.ArialBold
  274. G36KButton.FontSize = Enum.FontSize.Size18
  275. G36KButton.Text = "G36K Kit"
  276. G36KButton.TextColor3 = Color3.new(1, 1, 1)
  277. G36KButton.TextSize = 18
  278.  
  279. M4A1Button.Name = "M4A1Button"
  280. M4A1Button.Parent = KitsFrame
  281. M4A1Button.BackgroundColor3 = Color3.new(0, 0, 0)
  282. M4A1Button.BorderSizePixel = 0
  283. M4A1Button.Position = UDim2.new(0, 0, 0.00749999983, 0)
  284. M4A1Button.Size = UDim2.new(1, 0, 0.000500000024, 0)
  285. M4A1Button.ZIndex = 3
  286. M4A1Button.Font = Enum.Font.ArialBold
  287. M4A1Button.FontSize = Enum.FontSize.Size18
  288. M4A1Button.Text = "M4A1 Kit"
  289. M4A1Button.TextColor3 = Color3.new(1, 1, 1)
  290. M4A1Button.TextSize = 18
  291.  
  292. GadgetsButton.Name = "GadgetsButton"
  293. GadgetsButton.Parent = KitsFrame
  294. GadgetsButton.BackgroundColor3 = Color3.new(0, 0, 0)
  295. GadgetsButton.BorderSizePixel = 0
  296. GadgetsButton.Position = UDim2.new(0, 0, 0.00800000038, 0)
  297. GadgetsButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  298. GadgetsButton.ZIndex = 3
  299. GadgetsButton.Font = Enum.Font.ArialBold
  300. GadgetsButton.FontSize = Enum.FontSize.Size18
  301. GadgetsButton.Text = "Gadgets Kit"
  302. GadgetsButton.TextColor3 = Color3.new(1, 1, 1)
  303. GadgetsButton.TextSize = 18
  304.  
  305. HealthButton.Name = "HealthButton"
  306. HealthButton.Parent = KitsFrame
  307. HealthButton.BackgroundColor3 = Color3.new(0, 0, 0)
  308. HealthButton.BorderSizePixel = 0
  309. HealthButton.Position = UDim2.new(0, 0, 0.00850000046, 0)
  310. HealthButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  311. HealthButton.ZIndex = 3
  312. HealthButton.Font = Enum.Font.ArialBold
  313. HealthButton.FontSize = Enum.FontSize.Size18
  314. HealthButton.Text = "Health Kit"
  315. HealthButton.TextColor3 = Color3.new(1, 1, 1)
  316. HealthButton.TextSize = 18
  317.  
  318. CarRepairButton.Name = "CarRepairButton"
  319. CarRepairButton.Parent = KitsFrame
  320. CarRepairButton.BackgroundColor3 = Color3.new(0, 0, 0)
  321. CarRepairButton.BorderSizePixel = 0
  322. CarRepairButton.Position = UDim2.new(0, 0, 0.00899999961, 0)
  323. CarRepairButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  324. CarRepairButton.ZIndex = 3
  325. CarRepairButton.Font = Enum.Font.ArialBold
  326. CarRepairButton.FontSize = Enum.FontSize.Size18
  327. CarRepairButton.Text = "Car Repairs Kit"
  328. CarRepairButton.TextColor3 = Color3.new(1, 1, 1)
  329. CarRepairButton.TextSize = 18
  330.  
  331. BaseButton.Name = "BaseButton"
  332. BaseButton.Parent = KitsFrame
  333. BaseButton.BackgroundColor3 = Color3.new(0, 0, 0)
  334. BaseButton.BorderSizePixel = 0
  335. BaseButton.Position = UDim2.new(0, 0, 0.00949999969, 0)
  336. BaseButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  337. BaseButton.ZIndex = 3
  338. BaseButton.Font = Enum.Font.ArialBold
  339. BaseButton.FontSize = Enum.FontSize.Size18
  340. BaseButton.Text = "Base Kit"
  341. BaseButton.TextColor3 = Color3.new(1, 1, 1)
  342. BaseButton.TextSize = 18
  343.  
  344. FoodButton.Name = "FoodButton"
  345. FoodButton.Parent = KitsFrame
  346. FoodButton.BackgroundColor3 = Color3.new(0, 0, 0)
  347. FoodButton.BorderSizePixel = 0
  348. FoodButton.Position = UDim2.new(0, 0, 0.00999999978, 0)
  349. FoodButton.Size = UDim2.new(1, 0, 0.000500000024, 0)
  350. FoodButton.ZIndex = 3
  351. FoodButton.Font = Enum.Font.ArialBold
  352. FoodButton.FontSize = Enum.FontSize.Size18
  353. FoodButton.Text = "Food Kit"
  354. FoodButton.TextColor3 = Color3.new(1, 1, 1)
  355. FoodButton.TextSize = 18
  356.  
  357. PlayersLabel.Name = "PlayersLabel"
  358. PlayersLabel.Parent = MainFrame
  359. PlayersLabel.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  360. PlayersLabel.BorderColor3 = Color3.new(1, 1, 1)
  361. PlayersLabel.BorderSizePixel = 2
  362. PlayersLabel.Size = UDim2.new(0.400000006, 0, 0.100000001, 0)
  363. PlayersLabel.ZIndex = 2
  364. PlayersLabel.Font = Enum.Font.SourceSansSemibold
  365. PlayersLabel.FontSize = Enum.FontSize.Size24
  366. PlayersLabel.Text = "Players"
  367. PlayersLabel.TextColor3 = Color3.new(1, 1, 1)
  368. PlayersLabel.TextSize = 24
  369.  
  370. ItemsLabel.Name = "ItemsLabel"
  371. ItemsLabel.Parent = MainFrame
  372. ItemsLabel.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  373. ItemsLabel.BorderColor3 = Color3.new(1, 1, 1)
  374. ItemsLabel.BorderSizePixel = 2
  375. ItemsLabel.Position = UDim2.new(0.400000006, 0, 0, 0)
  376. ItemsLabel.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  377. ItemsLabel.ZIndex = 2
  378. ItemsLabel.Font = Enum.Font.SourceSansSemibold
  379. ItemsLabel.FontSize = Enum.FontSize.Size24
  380. ItemsLabel.Text = "Items"
  381. ItemsLabel.TextColor3 = Color3.new(1, 1, 1)
  382. ItemsLabel.TextSize = 24
  383.  
  384. KitsLabel.Name = "KitsLabel"
  385. KitsLabel.Parent = MainFrame
  386. KitsLabel.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  387. KitsLabel.BorderColor3 = Color3.new(1, 1, 1)
  388. KitsLabel.BorderSizePixel = 2
  389. KitsLabel.Position = UDim2.new(0.699999988, 0, 0, 0)
  390. KitsLabel.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  391. KitsLabel.ZIndex = 3
  392. KitsLabel.Font = Enum.Font.SourceSansSemibold
  393. KitsLabel.FontSize = Enum.FontSize.Size24
  394. KitsLabel.Text = "Kits"
  395. KitsLabel.TextColor3 = Color3.new(1, 1, 1)
  396. KitsLabel.TextSize = 24
  397.  
  398. ItemsSearchBox.Name = "ItemsSearchBox"
  399. ItemsSearchBox.Parent = MainFrame
  400. ItemsSearchBox.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  401. ItemsSearchBox.BorderColor3 = Color3.new(1, 1, 1)
  402. ItemsSearchBox.BorderSizePixel = 2
  403. ItemsSearchBox.Position = UDim2.new(0.400000006, 0, 0.100000001, 0)
  404. ItemsSearchBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  405. ItemsSearchBox.Font = Enum.Font.SourceSansBold
  406. ItemsSearchBox.FontSize = Enum.FontSize.Size14
  407. ItemsSearchBox.Text = "Type here to start searching."
  408. ItemsSearchBox.TextColor3 = Color3.new(1, 1, 1)
  409. ItemsSearchBox.TextScaled = true
  410. ItemsSearchBox.TextSize = 14
  411. ItemsSearchBox.TextWrapped = true
  412.  
  413. TitleLabel.Name = "TitleLabel"
  414. TitleLabel.Parent = DecoFrame
  415. TitleLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  416. TitleLabel.BackgroundTransparency = 1
  417. TitleLabel.BorderSizePixel = 0
  418. TitleLabel.Position = UDim2.new(0.049926579, 0, 0.0391198061, 0)
  419. TitleLabel.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
  420. TitleLabel.Font = Enum.Font.SourceSansSemibold
  421. TitleLabel.FontSize = Enum.FontSize.Size32
  422. TitleLabel.Text = "Cosette - Apoc Rising Item Spawner"
  423. TitleLabel.TextColor3 = Color3.new(1, 1, 1)
  424. TitleLabel.TextSize = 32
  425.  
  426. TransparencySlider.Name = "TransparencySlider"
  427. TransparencySlider.Parent = DecoFrame
  428. TransparencySlider.BackgroundColor3 = Color3.new(1, 1, 1)
  429. TransparencySlider.BorderSizePixel = 0
  430. TransparencySlider.Position = UDim2.new(0.100000001, 0, 0.925000012, 0)
  431. TransparencySlider.Size = UDim2.new(0.800000012, 0, 0.0500000007, 0)
  432.  
  433. TransparencyFill.Name = "TransparencyFill"
  434. TransparencyFill.Parent = TransparencySlider
  435. TransparencyFill.BackgroundColor3 = Color3.new(0, 0, 0)
  436. TransparencyFill.BorderSizePixel = 0
  437. TransparencyFill.Size = UDim2.new(0, 0, 1, 0)
  438.  
  439.  
  440. WhoToAffect = Instance.new("StringValue")
  441. GlobalTrans = Instance.new("NumberValue")
  442.  
  443. -- [[ FIXES ]] --
  444. game.Lighting.LootDrops.Patriot.PrimaryPart = game.Lighting.LootDrops.Patriot.Model.Head
  445. game.Lighting.LootDrops.Katana.PrimaryPart = game.Lighting.LootDrops.Katana.Model.Head
  446. -- [[ FIXES END ]] --
  447.  
  448. -- [[ FUNCTIONS ]] --
  449. function spawnitem(tospawn,times)
  450. for i=1,times do
  451. local item = game.Lighting.LootDrops:findFirstChild(tospawn)
  452. game.Workspace.Remote.PlaceMaterial:FireServer(item, game.Players:findFirstChild(WhoToAffect.Value).Character.Torso.Position-item.PrimaryPart.Position + Vector3.new(math.random(-10,10),1,math.random(-10,10)))  
  453. wait()
  454. end
  455. end
  456. -- [[ FUNCTIONS END ]] --
  457.  
  458.  
  459. -- [[ TRANSPARENCY SLIDER START ]] --
  460. spawn (function()
  461. while true do
  462. TransparencySlider.MouseMoved:connect(function (x,y)
  463. local newval = ((x - TransparencySlider.AbsolutePosition.x) / TransparencySlider.AbsoluteSize.x)
  464. GlobalTrans.Value = newval
  465. TransparencyFill.Size = UDim2.new(newval,0,1,0)
  466. DecoFrame.Transparency = newval*0.8
  467. MainFrame.Transparency = newval*0.8
  468. TransparencySlider.Transparency = newval*0.9
  469. TransparencyFill.Transparency = newval*0.9
  470. ItemsFrame.Transparency = newval*0.8
  471. KitsFrame.Transparency = newval*0.8
  472. PlayersFrame.Transparency = newval*0.8
  473. ItemsLabel.Transparency = newval*0.8
  474. KitsLabel.Transparency = newval*0.8
  475. PlayersLabel.Transparency = newval*0.8
  476. TitleLabel.TextTransparency = newval*0.8
  477. local children = PlayersFrame:GetChildren()
  478. local children2 = ItemsFrame:GetChildren()
  479. local children3 = KitsFrame:GetChildren()
  480. for i =1, #children do
  481. children[i].BackgroundTransparency = newval*0.8
  482. children[i].TextTransparency = newval*0.8
  483. end
  484. for i =1, #children2 do
  485. children2[i].BackgroundTransparency = newval*0.8
  486. children2[i].TextTransparency = newval*0.8
  487. end
  488. for i =1, #children3 do
  489. children3[i].BackgroundTransparency = newval*0.8
  490. children3[i].TextTransparency = newval*0.8
  491. end
  492. end)
  493. wait(1.5)
  494. end
  495. end)
  496. -- [[ TRANSPARENCY SLIDER END ]] --
  497.  
  498. -- [[ LOAD PLAYERS START ]] --
  499. function update()
  500. PlayersFrame:ClearAllChildren()
  501. local currentPos = UDim2.new(0,0,0,0)
  502. for _,v in pairs(game.Players:GetPlayers()) do
  503.         local plrbutton = Instance.new("TextButton")
  504.         plrbutton.Name = "PlayerButton"
  505.         plrbutton.Parent = PlayersFrame
  506.         plrbutton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  507.         plrbutton.BorderSizePixel = 0
  508.         plrbutton.Size = UDim2.new(1,0,0.0005,0)
  509.         plrbutton.Position = currentPos
  510.         plrbutton.Font = Enum.Font.ArialBold
  511.         plrbutton.FontSize = Enum.FontSize.Size18
  512.         plrbutton.Text = v.Name
  513.         plrbutton.TextSize = 18
  514.         plrbutton.ZIndex = 3
  515.         plrbutton.BackgroundTransparency = GlobalTrans.Value*0.8
  516.         plrbutton.TextTransparency = GlobalTrans.Value*0.8
  517.         plrbutton.TextColor3 = Color3.fromRGB(255,255,255)
  518.         currentPos = currentPos + UDim2.new(0,0,0.0005,0)
  519.         plrbutton.MouseButton1Down:connect(function()
  520.         WhoToAffect.Value = plrbutton.Text
  521.         end)   
  522.     end
  523. end
  524. update()
  525. game.Players.PlayerAdded:connect(function()
  526. update()
  527. end)
  528. game.Players.PlayerRemoving:connect(function()
  529. update()
  530. end)
  531. -- [[ LOAD PLAYERS END ]] --
  532.  
  533. -- [[ LOAD ITEMS ]] --
  534. function Search(Text)
  535.  local tabl = {}
  536. local currentPos = UDim2.new(0,0,0,0)
  537. for _,v in pairs(game.Lighting.LootDrops:GetChildren()) do
  538.     if v.Name:find(Text) then
  539.         local itembutton = Instance.new("TextButton")
  540.         itembutton.Name = "ItemButton"
  541.         itembutton.Parent = ItemsFrame
  542.         itembutton.BackgroundColor3 = Color3.fromRGB(0,0,0)
  543.         itembutton.BorderSizePixel = 0
  544.         itembutton.Size = UDim2.new(1,0,0.0005,0)
  545.         itembutton.Position = currentPos
  546.         itembutton.Font = Enum.Font.ArialBold
  547.         itembutton.FontSize = Enum.FontSize.Size18
  548.         itembutton.Text = v.Name
  549.         itembutton.TextSize = 18   
  550.         itembutton.ZIndex = 3
  551.         itembutton.TextColor3 = Color3.fromRGB(255,255,255)
  552.         currentPos = currentPos + UDim2.new(0,0,0.0005,0)
  553.         itembutton.MouseButton1Down:connect(function()
  554.         spawnitem(v.Name,1)
  555.         end)
  556. end
  557.    tabl[#tabl+1] = v
  558.   end
  559.  return tabl
  560. end
  561. ItemsSearchBox.Changed:connect(function(Val)
  562.  if Val == "Text" then
  563.     ItemsFrame:ClearAllChildren()
  564.   Search(ItemsSearchBox.Text)
  565.  end
  566. end)
  567. -- [[ FINISH LOADING ITEMS ]] --
  568.  
  569. -- [[ LOAD KITS ]] --
  570. local def1 = {"MilitaryPackBlack","ACOG","Suppressor762","Grip","M14Ammo50","BloodBag"}
  571. function sdef1()
  572. spawnitem(def1[1],1)
  573. spawnitem(def1[2],1)
  574. spawnitem(def1[3],1)
  575. spawnitem(def1[4],1)
  576. spawnitem(def1[5],8)
  577. spawnitem(def1[6],8)
  578. end
  579.  
  580. local def2 = {"MilitaryPackBlack","ACOG","Suppressor545","AK47Ammo75","BloodBag"}
  581. function sdef2()
  582. spawnitem(def2[1],1)
  583. spawnitem(def2[2],1)
  584. spawnitem(def2[3],1)
  585. spawnitem(def2[4],8)
  586. spawnitem(def2[5],8)
  587. end
  588.  
  589. local def3 = {"MilitaryPackBlack","ACOG","Suppressor556","STANAGAmmo100","BloodBag"}
  590. function sdef3()
  591. spawnitem(def3[1],1)
  592. spawnitem(def3[2],1)
  593. spawnitem(def3[3],1)
  594. spawnitem(def3[4],8)
  595. spawnitem(def3[5],8)
  596. end
  597.  
  598. FALButton.MouseButton1Down:connect(function()
  599. sdef1()
  600. spawnitem("FAL",1)
  601. end)
  602.  
  603. M14Button.MouseButton1Down:connect(function()
  604. sdef1()
  605. spawnitem("M14",1)
  606. end)
  607.  
  608. M17Button.MouseButton1Down:connect(function()
  609. sdef1()
  610. spawnitem("M17",1)
  611. end)
  612.  
  613. G3Button.MouseButton1Down:connect(function()
  614. sdef1()
  615. spawnitem("G3",1)
  616. end)
  617.  
  618. HK21Button.MouseButton1Down:connect(function()
  619. sdef1()
  620. spawnitem("HK21",1)
  621. end)
  622.  
  623. HK417Button.MouseButton1Down:connect(function()
  624. sdef1()
  625. spawnitem("HK417",1)
  626. end)
  627.  
  628. AK47Button.MouseButton1Down:connect(function()
  629. sdef2()
  630. spawnitem("AK-47",1)
  631. end)
  632.  
  633. AKMButton.MouseButton1Down:connect(function()
  634. sdef2()
  635. spawnitem("AKM",1)
  636. end)
  637.  
  638. AK108Button.MouseButton1Down:connect(function()
  639. sdef2()
  640. spawnitem("AK-108",1)
  641. end)
  642.  
  643. AK12Button.MouseButton1Down:connect(function()
  644. sdef2()
  645. spawnitem("AK-12",1)
  646. end)
  647.  
  648. RPKButton.MouseButton1Down:connect(function()
  649. sdef2()
  650. spawnitem("RPK",1)
  651. end)
  652.  
  653. OTs14Button.MouseButton1Down:connect(function()
  654. sdef2()
  655. spawnitem("OTs-14",1)
  656. end)
  657.  
  658. PatriotButton.MouseButton1Down:connect(function()
  659. sdef3()
  660. spawnitem("Patriot",1)
  661. end)
  662.  
  663. SCARLButton.MouseButton1Down:connect(function()
  664. sdef3()
  665. spawnitem("SCAR-L",1)
  666. end)
  667.  
  668. G36KButton.MouseButton1Down:connect(function()
  669. sdef3()
  670. spawnitem("G36K",1)
  671. end)
  672.  
  673. M4A1Button.MouseButton1Down:connect(function()
  674. sdef3()
  675. spawnitem("M4A1",1)
  676. end)
  677.  
  678. GadgetsButton.MouseButton1Down:connect(function()
  679. spawnitem("Watch",1)
  680. spawnitem("Compass",1)
  681. spawnitem("Map",1)
  682. spawnitem("GPS",1)
  683. spawnitem("OmniLight",1)
  684. spawnitem("Radio",1)
  685. spawnitem("C4Detonator",1)
  686. end)
  687.  
  688. HealthButton.MouseButton1Down:connect(function()
  689. spawnitem("BloodBag",6)
  690. spawnitem("Painkillers",6)
  691. end)
  692.  
  693. CarRepairButton.MouseButton1Down:connect(function()
  694. spawnitem("ReinforcedWheel",4)
  695. spawnitem("Engine")
  696. spawnitem("FuelTank")
  697. spawnitem("ScrapMetal",3)
  698. spawnitem("AmorPlates",8)
  699. spawnitem("BallisticGlass",2)
  700. end)
  701.  
  702. BaseButton.MouseButton1Down:connect(function()
  703. spawnitem("Material5",4)
  704. spawnitem("Material3",4)
  705. spawnitem("Material7",2)
  706. spawnitem("LargeCrate",4)
  707. end)
  708.  
  709. FoodButton.MouseButton1Down:connect(function()
  710. spawnitem("MRE",6)
  711. end)
  712. -- [[ FINISH LOADING KITS ]] --
  713.  
  714. -- [[ START LOADING TOGGLE OPEN ]] --
  715. local inputHandler = game:GetService("UserInputService")
  716. inputHandler.InputBegan:connect(function(inp)
  717.     local itype = inp.UserInputType
  718.     local key = inp.KeyCode
  719.     if itype == Enum.UserInputType.Keyboard then
  720.     if key == Enum.KeyCode.LeftAlt then
  721.     if DecoFrame.Visible == true then
  722.         DecoFrame.Visible = false
  723.     else
  724.         DecoFrame.Visible = true
  725.     end
  726.        
  727.         end
  728. end
  729. end)
  730. -- [[ DONE LOADING ]] --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement