Advertisement
Guest User

GUI FOR MINING SIMULATOR ROBLOX

a guest
May 20th, 2018
4,535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.25 KB | None | 0 0
  1. -- Made By LumberUniverseYT (aka Vip Server Hack)
  2. -- Objects
  3.  
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Drag = Instance.new("Frame")
  6. local Back = Instance.new("Frame")
  7. local Buy = Instance.new("TextButton")
  8. local instant = Instance.new("TextButton")
  9. local open = Instance.new("TextButton")
  10. local candy = Instance.new("TextButton")
  11. local toy = Instance.new("TextButton")
  12. local food = Instance.new("TextButton")
  13. local sell = Instance.new("TextButton")
  14. local Sizer = Instance.new("TextButton")
  15. local NameD = Instance.new("TextLabel")
  16. local BarB = Instance.new("Frame")
  17. local CloseB = Instance.new("TextButton")
  18. local NameB = Instance.new("TextLabel")
  19. local BuyMenu = Instance.new("Frame")
  20. local purchase = Instance.new("TextButton")
  21. local commonframe = Instance.new("Frame")
  22. local CName = Instance.new("TextLabel")
  23. local Cselect = Instance.new("TextButton")
  24. local uncommonframe = Instance.new("Frame")
  25. local UName = Instance.new("TextLabel")
  26. local Uselect = Instance.new("TextButton")
  27. local rareframe = Instance.new("Frame")
  28. local RName = Instance.new("TextLabel")
  29. local Rselect = Instance.new("TextButton")
  30. local epicframe = Instance.new("Frame")
  31. local EName = Instance.new("TextLabel")
  32. local Eselect = Instance.new("TextButton")
  33. local Frame = Instance.new("Frame")
  34. local fif = Instance.new("Frame")
  35. local fName = Instance.new("TextLabel")
  36. local fselect = Instance.new("TextButton")
  37. local hundred = Instance.new("Frame")
  38. local hName = Instance.new("TextLabel")
  39. local hselect = Instance.new("TextButton")
  40. local BarL = Instance.new("Frame")
  41. local CloseL = Instance.new("TextButton")
  42. local NameL = Instance.new("TextLabel")
  43. local LoopMenu = Instance.new("Frame")
  44. local Common = Instance.new("TextButton")
  45. local Uncommon = Instance.new("TextButton")
  46. local Rare = Instance.new("TextButton")
  47. local Epic = Instance.new("TextButton")
  48. local CommonLabel = Instance.new("TextLabel")
  49. local UncommonLabel = Instance.new("TextLabel")
  50. local RareLabel = Instance.new("TextLabel")
  51. local EpicLabel = Instance.new("TextLabel")
  52. local CActive = false
  53. local UActive = false
  54. local RActive = false
  55. local EActive = false
  56. local selected = Instance.new("StringValue")
  57. local amount = Instance.new("NumberValue")
  58.  
  59. -- Properties
  60.  
  61. ScreenGui.Parent = game.CoreGui
  62.  
  63. Drag.Name = "Drag"
  64. Drag.Parent = ScreenGui
  65. Drag.Active = true
  66. Drag.BackgroundColor3 = Color3.new(0.223529, 0.352941, 0.815686)
  67. Drag.BorderSizePixel = 0
  68. Drag.Position = UDim2.new(0.0537500009, 0, 0.334242851, 0)
  69. Drag.Size = UDim2.new(0.119374998, 0, 0.034106411, 0)
  70. Drag.ZIndex = 2
  71. Drag.Draggable = true
  72.  
  73. Back.Name = "Back"
  74. Back.Parent = Drag
  75. Back.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  76. Back.BackgroundTransparency = 0.30000001192093
  77. Back.BorderSizePixel = 0
  78. Back.Position = UDim2.new(0, 0, 1, 0)
  79. Back.Size = UDim2.new(1, 0, 9.07999992, 0)
  80.  
  81. Buy.Name = "Buy"
  82. Buy.Parent = Back
  83. Buy.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  84. Buy.BorderSizePixel = 0
  85. Buy.Position = UDim2.new(0.0209424086, 0, 0.0180180185, 0)
  86. Buy.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  87. Buy.Font = Enum.Font.SourceSansBold
  88. Buy.Text = "Open Buy Menu"
  89. Buy.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  90. Buy.TextSize = 20
  91. Buy.TextWrapped = true
  92.  
  93. instant.Name = "instant"
  94. instant.Parent = Back
  95. instant.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  96. instant.BorderSizePixel = 0
  97. instant.Position = UDim2.new(0.0209424086, 0, 0.154185027, 0)
  98. instant.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  99. instant.Font = Enum.Font.SourceSansBold
  100. instant.Text = "Instant Break"
  101. instant.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  102. instant.TextSize = 20
  103. instant.TextWrapped = true
  104.  
  105. open.Name = "open"
  106. open.Parent = Back
  107. open.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  108. open.BorderSizePixel = 0
  109. open.Position = UDim2.new(0.0209424086, 0, 0.290748894, 0)
  110. open.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  111. open.Font = Enum.Font.SourceSansBold
  112. open.Text = "Loop Open Menu"
  113. open.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  114. open.TextSize = 20
  115. open.TextWrapped = true
  116.  
  117. candy.Name = "candy"
  118. candy.Parent = Back
  119. candy.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  120. candy.BorderSizePixel = 0
  121. candy.Position = UDim2.new(0.0209424086, 0, 0.427312762, 0)
  122. candy.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  123. candy.Font = Enum.Font.SourceSansBold
  124. candy.Text = "Go to Candy Land"
  125. candy.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  126. candy.TextSize = 20
  127. candy.TextWrapped = true
  128.  
  129. toy.Name = "toy"
  130. toy.Parent = Back
  131. toy.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  132. toy.BorderSizePixel = 0
  133. toy.Position = UDim2.new(0.0209424086, 0, 0.563876629, 0)
  134. toy.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  135. toy.Font = Enum.Font.SourceSansBold
  136. toy.Text = "Go to Toy Land"
  137. toy.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  138. toy.TextSize = 20
  139. toy.TextWrapped = true
  140.  
  141. food.Name = "food"
  142. food.Parent = Back
  143. food.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  144. food.BorderSizePixel = 0
  145. food.Position = UDim2.new(0.0209424086, 0, 0.700440526, 0)
  146. food.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  147. food.Font = Enum.Font.SourceSansBold
  148. food.Text = "Go to Food Land"
  149. food.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  150. food.TextSize = 20
  151. food.TextWrapped = true
  152.  
  153. sell.Name = "sell"
  154. sell.Parent = Back
  155. sell.BackgroundColor3 = Color3.new(0.109804, 0.317647, 1)
  156. sell.BorderSizePixel = 0
  157. sell.Position = UDim2.new(0.0209424086, 0, 0.837004423, 0)
  158. sell.Size = UDim2.new(0.958000004, 0, 0.119000003, 0)
  159. sell.Font = Enum.Font.SourceSansBold
  160. sell.Text = "Sell Blocks"
  161. sell.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  162. sell.TextSize = 20
  163. sell.TextWrapped = true
  164.  
  165. Sizer.Name = "Sizer"
  166. Sizer.Parent = Drag
  167. Sizer.BackgroundColor3 = Color3.new(1, 1, 1)
  168. Sizer.BackgroundTransparency = 1
  169. Sizer.Position = UDim2.new(0.853403151, 0, -0.0799999982, 0)
  170. Sizer.Size = UDim2.new(0.157068059, 0, 1.12, 0)
  171. Sizer.ZIndex = 3
  172. Sizer.Font = Enum.Font.SourceSansBold
  173. Sizer.Text = "+"
  174. Sizer.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  175. Sizer.TextScaled = true
  176. Sizer.TextSize = 14
  177. Sizer.TextWrapped = true
  178.  
  179. NameD.Name = "NameD"
  180. NameD.Parent = Drag
  181. NameD.BackgroundColor3 = Color3.new(1, 1, 1)
  182. NameD.BackgroundTransparency = 1
  183. NameD.Position = UDim2.new(0.0157068055, 0, -0.0399999991, 0)
  184. NameD.Size = UDim2.new(0.492146611, 0, 0.959999979, 0)
  185. NameD.ZIndex = 3
  186. NameD.Font = Enum.Font.SourceSansBold
  187. NameD.Text = "OMine Gui"
  188. NameD.TextColor3 = Color3.new(0.0392157, 0.133333, 1)
  189. NameD.TextScaled = true
  190. NameD.TextSize = 14
  191. NameD.TextWrapped = true
  192.  
  193. BarB.Name = "BarB"
  194. BarB.Parent = Drag
  195. BarB.Active = true
  196. BarB.BackgroundColor3 = Color3.new(0.223529, 0.352941, 0.815686)
  197. BarB.BorderSizePixel = 0
  198. BarB.Position = UDim2.new(1.03664923, 0, 1.08000004, 0)
  199. BarB.Size = UDim2.new(1.09947646, 0, 0.959999979, 0)
  200. BarB.Visible = false
  201. BarB.ZIndex = 3
  202. BarB.Draggable = true
  203.  
  204. CloseB.Name = "CloseB"
  205. CloseB.Parent = BarB
  206. CloseB.BackgroundColor3 = Color3.new(1, 1, 1)
  207. CloseB.BackgroundTransparency = 1
  208. CloseB.Position = UDim2.new(0.886010349, 0, -0.0454545468, 0)
  209. CloseB.Size = UDim2.new(0.119170986, 0, 0.954545438, 0)
  210. CloseB.ZIndex = 4
  211. CloseB.Font = Enum.Font.SourceSansBold
  212. CloseB.Text = "X"
  213. CloseB.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  214. CloseB.TextScaled = true
  215. CloseB.TextSize = 14
  216. CloseB.TextWrapped = true
  217.  
  218. NameB.Name = "NameB"
  219. NameB.Parent = BarB
  220. NameB.BackgroundColor3 = Color3.new(1, 1, 1)
  221. NameB.BackgroundTransparency = 1
  222. NameB.Position = UDim2.new(0.0207253881, 0, 0.0909090936, 0)
  223. NameB.Size = UDim2.new(0.699481845, 0, 0.818181813, 0)
  224. NameB.ZIndex = 4
  225. NameB.Font = Enum.Font.SourceSansBold
  226. NameB.Text = "Buy Menu"
  227. NameB.TextColor3 = Color3.new(1, 1, 1)
  228. NameB.TextScaled = true
  229. NameB.TextSize = 14
  230. NameB.TextWrapped = true
  231. NameB.TextXAlignment = Enum.TextXAlignment.Left
  232.  
  233. BuyMenu.Name = "BuyMenu"
  234. BuyMenu.Parent = BarB
  235. BuyMenu.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  236. BuyMenu.BackgroundTransparency = 0.30000001192093
  237. BuyMenu.BorderSizePixel = 0
  238. BuyMenu.Size = UDim2.new(1, 0, 6.625, 0)
  239.  
  240. purchase.Name = "purchase"
  241. purchase.Parent = BuyMenu
  242. purchase.BackgroundColor3 = Color3.new(0.270588, 0.443137, 0.996078)
  243. purchase.BorderSizePixel = 0
  244. purchase.Position = UDim2.new(0.0206185561, 0, 0.777777791, 0)
  245. purchase.Size = UDim2.new(0.958762884, 0, 0.194444448, 0)
  246. purchase.Font = Enum.Font.SourceSansBold
  247. purchase.Text = "Buy"
  248. purchase.TextColor3 = Color3.new(0, 0, 0.498039)
  249. purchase.TextSize = 20
  250. purchase.TextWrapped = true
  251.  
  252. commonframe.Name = "commonframe"
  253. commonframe.Parent = BuyMenu
  254. commonframe.BackgroundColor3 = Color3.new(1, 1, 1)
  255. commonframe.BackgroundTransparency = 1
  256. commonframe.Position = UDim2.new(0.0190476198, 0, 0.389937103, 0)
  257. commonframe.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  258.  
  259. CName.Name = "CName"
  260. CName.Parent = commonframe
  261. CName.BackgroundColor3 = Color3.new(1, 1, 1)
  262. CName.BackgroundTransparency = 1
  263. CName.Position = UDim2.new(-0.0412371121, 0, 0, 0)
  264. CName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  265. CName.Font = Enum.Font.SourceSansBold
  266. CName.Text = "Common"
  267. CName.TextColor3 = Color3.new(1, 1, 1)
  268. CName.TextSize = 19
  269. CName.TextWrapped = true
  270.  
  271. Cselect.Name = "Cselect"
  272. Cselect.Parent = commonframe
  273. Cselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  274. Cselect.BorderSizePixel = 2
  275. Cselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  276. Cselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  277. Cselect.Font = Enum.Font.SourceSans
  278. Cselect.Text = " "
  279. Cselect.TextSize = 14
  280.  
  281. uncommonframe.Name = "uncommonframe"
  282. uncommonframe.Parent = BuyMenu
  283. uncommonframe.BackgroundColor3 = Color3.new(1, 1, 1)
  284. uncommonframe.BackgroundTransparency = 1
  285. uncommonframe.Position = UDim2.new(0.519047618, 0, 0.389937103, 0)
  286. uncommonframe.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  287.  
  288. UName.Name = "UName"
  289. UName.Parent = uncommonframe
  290. UName.BackgroundColor3 = Color3.new(1, 1, 1)
  291. UName.BackgroundTransparency = 1
  292. UName.Position = UDim2.new(-0.0824742243, 0, 0, 0)
  293. UName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  294. UName.Font = Enum.Font.SourceSansBold
  295. UName.Text = "Uncommon"
  296. UName.TextColor3 = Color3.new(1, 1, 1)
  297. UName.TextSize = 17
  298. UName.TextWrapped = true
  299.  
  300. Uselect.Name = "Uselect"
  301. Uselect.Parent = uncommonframe
  302. Uselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  303. Uselect.BorderSizePixel = 2
  304. Uselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  305. Uselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  306. Uselect.Font = Enum.Font.SourceSans
  307. Uselect.Text = " "
  308. Uselect.TextSize = 14
  309.  
  310. rareframe.Name = "rareframe"
  311. rareframe.Parent = BuyMenu
  312. rareframe.BackgroundColor3 = Color3.new(1, 1, 1)
  313. rareframe.BackgroundTransparency = 1
  314. rareframe.Position = UDim2.new(0.0190476198, 0, 0.584905684, 0)
  315. rareframe.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  316.  
  317. RName.Name = "RName"
  318. RName.Parent = rareframe
  319. RName.BackgroundColor3 = Color3.new(1, 1, 1)
  320. RName.BackgroundTransparency = 1
  321. RName.Position = UDim2.new(-0.0412371121, 0, 0, 0)
  322. RName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  323. RName.Font = Enum.Font.SourceSansBold
  324. RName.Text = "Rare"
  325. RName.TextColor3 = Color3.new(1, 1, 1)
  326. RName.TextSize = 19
  327. RName.TextWrapped = true
  328.  
  329. Rselect.Name = "Rselect"
  330. Rselect.Parent = rareframe
  331. Rselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  332. Rselect.BorderSizePixel = 2
  333. Rselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  334. Rselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  335. Rselect.Font = Enum.Font.SourceSans
  336. Rselect.Text = " "
  337. Rselect.TextSize = 14
  338.  
  339. epicframe.Name = "epicframe"
  340. epicframe.Parent = BuyMenu
  341. epicframe.BackgroundColor3 = Color3.new(1, 1, 1)
  342. epicframe.BackgroundTransparency = 1
  343. epicframe.Position = UDim2.new(0.519047618, 0, 0.584905684, 0)
  344. epicframe.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  345.  
  346. EName.Name = "EName"
  347. EName.Parent = epicframe
  348. EName.BackgroundColor3 = Color3.new(1, 1, 1)
  349. EName.BackgroundTransparency = 1
  350. EName.Position = UDim2.new(-0.0412371121, 0, 0, 0)
  351. EName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  352. EName.Font = Enum.Font.SourceSansBold
  353. EName.Text = "Epic"
  354. EName.TextColor3 = Color3.new(1, 1, 1)
  355. EName.TextSize = 19
  356. EName.TextWrapped = true
  357.  
  358. Eselect.Name = "Eselect"
  359. Eselect.Parent = epicframe
  360. Eselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  361. Eselect.BorderSizePixel = 2
  362. Eselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  363. Eselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  364. Eselect.AutoButtonColor = false
  365. Eselect.Font = Enum.Font.SourceSans
  366. Eselect.Text = " "
  367. Eselect.TextSize = 14
  368.  
  369. Frame.Parent = BuyMenu
  370. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  371. Frame.BorderColor3 = Color3.new(1, 1, 1)
  372. Frame.Position = UDim2.new(0.0238095243, 0, 0.34591195, 0)
  373. Frame.Size = UDim2.new(0.95714283, 0, 0, 0)
  374.  
  375. fif.Name = "fif"
  376. fif.Parent = BuyMenu
  377. fif.BackgroundColor3 = Color3.new(1, 1, 1)
  378. fif.BackgroundTransparency = 1
  379. fif.Position = UDim2.new(0.0142857144, 0, 0.16352202, 0)
  380. fif.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  381.  
  382. fName.Name = "fName"
  383. fName.Parent = fif
  384. fName.BackgroundColor3 = Color3.new(1, 1, 1)
  385. fName.BackgroundTransparency = 1
  386. fName.Position = UDim2.new(-0.0412371121, 0, 0, 0)
  387. fName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  388. fName.Font = Enum.Font.SourceSansBold
  389. fName.Text = "50"
  390. fName.TextColor3 = Color3.new(1, 1, 1)
  391. fName.TextSize = 19
  392. fName.TextWrapped = true
  393.  
  394. fselect.Name = "fselect"
  395. fselect.Parent = fif
  396. fselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  397. fselect.BorderSizePixel = 2
  398. fselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  399. fselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  400. fselect.AutoButtonColor = false
  401. fselect.Font = Enum.Font.SourceSans
  402. fselect.Text = " "
  403. fselect.TextSize = 14
  404.  
  405. hundred.Name = "hundred"
  406. hundred.Parent = BuyMenu
  407. hundred.BackgroundColor3 = Color3.new(1, 1, 1)
  408. hundred.BackgroundTransparency = 1
  409. hundred.Position = UDim2.new(0.519047618, 0, 0.16352202, 0)
  410. hundred.Size = UDim2.new(0.461904764, 0, 0.169811323, 0)
  411.  
  412. hName.Name = "hName"
  413. hName.Parent = hundred
  414. hName.BackgroundColor3 = Color3.new(1, 1, 1)
  415. hName.BackgroundTransparency = 1
  416. hName.Position = UDim2.new(-0.0412371121, 0, 0, 0)
  417. hName.Size = UDim2.new(0.793814421, 0, 0.92592591, 0)
  418. hName.Font = Enum.Font.SourceSansBold
  419. hName.Text = "100"
  420. hName.TextColor3 = Color3.new(1, 1, 1)
  421. hName.TextSize = 19
  422. hName.TextWrapped = true
  423.  
  424. hselect.Name = "hselect"
  425. hselect.Parent = hundred
  426. hselect.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  427. hselect.BorderSizePixel = 2
  428. hselect.Position = UDim2.new(0.763000011, 0, 0.148000002, 0)
  429. hselect.Size = UDim2.new(0.195999995, 0, 0.703999996, 0)
  430. hselect.AutoButtonColor = false
  431. hselect.Font = Enum.Font.SourceSans
  432. hselect.Text = " "
  433. hselect.TextSize = 14
  434.  
  435. BarL.Name = "BarL"
  436. BarL.Parent = Drag
  437. BarL.Active = true
  438. BarL.BackgroundColor3 = Color3.new(0.223529, 0.352941, 0.815686)
  439. BarL.BorderSizePixel = 0
  440. BarL.Position = UDim2.new(1.06282723, 0, 1.24000001, 0)
  441. BarL.Size = UDim2.new(1.01600003, 0, 0.959999979, 0)
  442. BarL.Visible = false
  443. BarL.ZIndex = 3
  444. BarL.Draggable = true
  445.  
  446. CloseL.Name = "CloseL"
  447. CloseL.Parent = BarL
  448. CloseL.BackgroundColor3 = Color3.new(1, 1, 1)
  449. CloseL.BackgroundTransparency = 1
  450. CloseL.Position = UDim2.new(0.886010349, 0, -0.0454545468, 0)
  451. CloseL.Size = UDim2.new(0.119170986, 0, 0.954545438, 0)
  452. CloseL.ZIndex = 4
  453. CloseL.Font = Enum.Font.SourceSansBold
  454. CloseL.Text = "X"
  455. CloseL.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  456. CloseL.TextScaled = true
  457. CloseL.TextSize = 14
  458. CloseL.TextWrapped = true
  459.  
  460. NameL.Name = "NameL"
  461. NameL.Parent = BarL
  462. NameL.BackgroundColor3 = Color3.new(1, 1, 1)
  463. NameL.BackgroundTransparency = 1
  464. NameL.Position = UDim2.new(0.0207253881, 0, 0.0909090936, 0)
  465. NameL.Size = UDim2.new(0.699481845, 0, 0.818181813, 0)
  466. NameL.ZIndex = 4
  467. NameL.Font = Enum.Font.SourceSansBold
  468. NameL.Text = "Loop Open Menu"
  469. NameL.TextColor3 = Color3.new(1, 1, 1)
  470. NameL.TextScaled = true
  471. NameL.TextSize = 14
  472. NameL.TextWrapped = true
  473. NameL.TextXAlignment = Enum.TextXAlignment.Left
  474.  
  475. LoopMenu.Name = "LoopMenu"
  476. LoopMenu.Parent = BarL
  477. LoopMenu.BackgroundColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  478. LoopMenu.BackgroundTransparency = 0.30000001192093
  479. LoopMenu.BorderSizePixel = 0
  480. LoopMenu.Position = UDim2.new(0, 0, 0.291666657, 0)
  481. LoopMenu.Size = UDim2.new(1, 0, 4.79199982, 0)
  482.  
  483. Common.Name = "Common"
  484. Common.Parent = LoopMenu
  485. Common.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  486. Common.BorderSizePixel = 2
  487. Common.Position = UDim2.new(0.860824764, 0, 0.187050357, 0)
  488. Common.Size = UDim2.new(0.108000003, 0, 0.150999993, 0)
  489. Common.Font = Enum.Font.SourceSans
  490. Common.Text = " "
  491. Common.TextSize = 14
  492.  
  493. Uncommon.Name = "Uncommon"
  494. Uncommon.Parent = LoopMenu
  495. Uncommon.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  496. Uncommon.BorderSizePixel = 2
  497. Uncommon.Position = UDim2.new(0.860824764, 0, 0.388489217, 0)
  498. Uncommon.Size = UDim2.new(0.108000003, 0, 0.150999993, 0)
  499. Uncommon.Font = Enum.Font.SourceSans
  500. Uncommon.Text = " "
  501. Uncommon.TextSize = 14
  502.  
  503. Rare.Name = "Rare"
  504. Rare.Parent = LoopMenu
  505. Rare.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  506. Rare.BorderSizePixel = 2
  507. Rare.Position = UDim2.new(0.860824764, 0, 0.597122312, 0)
  508. Rare.Size = UDim2.new(0.108000003, 0, 0.150999993, 0)
  509. Rare.Font = Enum.Font.SourceSans
  510. Rare.Text = " "
  511. Rare.TextSize = 14
  512.  
  513. Epic.Name = "Epic"
  514. Epic.Parent = LoopMenu
  515. Epic.BackgroundColor3 = Color3.new(1, 0.290196, 0.290196)
  516. Epic.BorderSizePixel = 2
  517. Epic.Position = UDim2.new(0.860824764, 0, 0.805755377, 0)
  518. Epic.Size = UDim2.new(0.108000003, 0, 0.150999993, 0)
  519. Epic.Font = Enum.Font.SourceSans
  520. Epic.Text = " "
  521. Epic.TextSize = 14
  522.  
  523. CommonLabel.Name = "CommonLabel"
  524. CommonLabel.Parent = LoopMenu
  525. CommonLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  526. CommonLabel.BackgroundTransparency = 1
  527. CommonLabel.Position = UDim2.new(0.0206185561, 0, 0.172661871, 0)
  528. CommonLabel.Size = UDim2.new(0.752577305, 0, 0.179856122, 0)
  529. CommonLabel.Font = Enum.Font.SourceSansBold
  530. CommonLabel.Text = "Common"
  531. CommonLabel.TextColor3 = Color3.new(1, 1, 1)
  532. CommonLabel.TextSize = 21
  533.  
  534. UncommonLabel.Name = "UncommonLabel"
  535. UncommonLabel.Parent = LoopMenu
  536. UncommonLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  537. UncommonLabel.BackgroundTransparency = 1
  538. UncommonLabel.Position = UDim2.new(0.0209999997, 0, 0.374000013, 0)
  539. UncommonLabel.Size = UDim2.new(0.752577305, 0, 0.179856122, 0)
  540. UncommonLabel.Font = Enum.Font.SourceSansBold
  541. UncommonLabel.Text = "Uncommon"
  542. UncommonLabel.TextColor3 = Color3.new(1, 1, 1)
  543. UncommonLabel.TextSize = 21
  544.  
  545. RareLabel.Name = "RareLabel"
  546. RareLabel.Parent = LoopMenu
  547. RareLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  548. RareLabel.BackgroundTransparency = 1
  549. RareLabel.Position = UDim2.new(0.0209999997, 0, 0.583000004, 0)
  550. RareLabel.Size = UDim2.new(0.752577305, 0, 0.179856122, 0)
  551. RareLabel.Font = Enum.Font.SourceSansBold
  552. RareLabel.Text = "Rare"
  553. RareLabel.TextColor3 = Color3.new(1, 1, 1)
  554. RareLabel.TextSize = 21
  555.  
  556. EpicLabel.Name = "EpicLabel"
  557. EpicLabel.Parent = LoopMenu
  558. EpicLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  559. EpicLabel.BackgroundTransparency = 1
  560. EpicLabel.Position = UDim2.new(0.0209999997, 0, 0.791999996, 0)
  561. EpicLabel.Size = UDim2.new(0.752577305, 0, 0.179856122, 0)
  562. EpicLabel.Font = Enum.Font.SourceSansBold
  563. EpicLabel.Text = "Epic"
  564. EpicLabel.TextColor3 = Color3.new(1, 1, 1)
  565. EpicLabel.TextSize = 21
  566.  
  567. selected.Name = "selected"
  568. selected.Parent = BuyMenu
  569. selected.Value = " "
  570.  
  571. amount.Parent = BuyMenu
  572. amount.Name = "amount"
  573. amount.Value = 0
  574.  
  575. -- Scripts
  576.  
  577. Buy.MouseButton1Click:Connect(function()
  578. BarB.Visible = true
  579. end)
  580.  
  581. open.MouseButton1Click:Connect(function()
  582. BarL.Visible = true
  583. end)
  584.  
  585. CloseL.MouseButton1Click:Connect(function()
  586. BarL.Visible = false
  587. end)
  588.  
  589. CloseB.MouseButton1Click:Connect(function()
  590. BarB.Visible = false
  591. end)
  592.  
  593. Sizer.MouseButton1Click:Connect(function()
  594. if Back.Visible == true then
  595. Back.Visible = false
  596. Sizer.Text = "-"
  597. else
  598. Back.Visible = true
  599. Sizer.Text = "+"
  600. end
  601. end)
  602.  
  603. Common.MouseButton1Click:Connect(function()
  604. if Common.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  605. Common.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  606. CActive = true
  607. else
  608. Common.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  609. CActive = false
  610. end
  611. end)
  612.  
  613. Uncommon.MouseButton1Click:Connect(function()
  614. if Uncommon.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  615. Uncommon.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  616. UActive = true
  617. else
  618. Uncommon.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  619. UActive = false
  620. end
  621. end)
  622.  
  623. Rare.MouseButton1Click:Connect(function()
  624. if Rare.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  625. Rare.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  626. RActive = true
  627. else
  628. Rare.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  629. RActive = false
  630. end
  631. end)
  632.  
  633. Epic.MouseButton1Click:Connect(function()
  634. if Epic.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  635. Epic.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  636. EActive = true
  637. else
  638. Epic.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  639. EActive = false
  640. end
  641. end)
  642.  
  643. Rselect.MouseButton1Click:Connect(function()
  644. if Rselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  645. Rselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  646. Uselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  647. Cselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  648. Eselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  649. selected.Value = "Rare Hat Crate"
  650. else
  651. Rselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  652. selected.Value = " "
  653. end
  654. end)
  655.  
  656. Eselect.MouseButton1Click:Connect(function()
  657. if Eselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  658. Eselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  659. Uselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  660. Cselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  661. Rselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  662. selected.Value = "Epic Hat Crate"
  663. else
  664. Eselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  665. selected.Value = " "
  666. end
  667. end)
  668.  
  669. Uselect.MouseButton1Click:Connect(function()
  670. if Uselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  671. Uselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  672. Rselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  673. Cselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  674. Eselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  675. selected.Value = "Uncommon Hat Crate"
  676. else
  677. Uselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  678. selected.Value = " "
  679. end
  680. end)
  681.  
  682. Cselect.MouseButton1Click:Connect(function()
  683. if Cselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  684. Cselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  685. Uselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  686. Rselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  687. Eselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  688. selected.Value = "Common Hat Crate"
  689. else
  690. Cselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  691. selected.Value = " "
  692. end
  693. end)
  694.  
  695. fselect.MouseButton1Click:Connect(function()
  696. if fselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  697. fselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  698. hselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  699. amount.Value = 50
  700. else
  701. fselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  702. amount.Value = 0
  703. end
  704. end)
  705.  
  706. hselect.MouseButton1Click:Connect(function()
  707. if hselect.BackgroundColor3 == Color3.fromRGB(255, 74, 74)then
  708. hselect.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  709. fselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  710. amount.Value = 50
  711. else
  712. hselect.BackgroundColor3 = Color3.fromRGB(255, 74, 74)
  713. amount.Value = 0
  714. end
  715. end)
  716.  
  717. purchase.MouseButton1Click:Connect(function()
  718. if selected.Value == "Common Hat Crate"then
  719. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Common Hat Crate", amount.Value)
  720.  
  721. elseif selected.Value == "Uncommon Hat Crate"then
  722. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Uncommon Hat Crate", amount.Value)
  723. print("Epic Hat")
  724.  
  725. elseif selected.Value == "Rare Hat Crate"then
  726. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Rare Hat Crate", amount.Value)
  727. print("Rare Hat")
  728.  
  729. elseif selected.Value == "Epic Hat Crate"then
  730. game.Workspace.RemoteEvent:FireServer("OpenCrate", "Epic Hat Crate", amount.Value)
  731. print("Epic Hat")
  732. end
  733. end)
  734.  
  735. candy.MouseButton1Click:Connect(function()
  736. game.Workspace.RemoteEvent:FireServer("MoveTo", "CandySpawn")
  737. end)
  738.  
  739. toy.MouseButton1Click:Connect(function()
  740. game.Workspace.RemoteEvent:FireServer("MoveTo", "ToySpawn")
  741. end)
  742.  
  743. food.MouseButton1Click:Connect(function()
  744. game.Workspace.RemoteEvent:FireServer("MoveTo", "FoodSpawn")
  745. end)
  746.  
  747. sell.MouseButton1Click:Connect(function()
  748. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Activation.Sell.CFrame
  749. end)
  750.  
  751. instant.MouseButton1Click:Connect(function()
  752. local Player = game.Players.LocalPlayer
  753. local Mouse = Player:GetMouse()
  754. local Activated = false
  755.  
  756. Mouse.Button1Down:connect(function()
  757. Activated = true
  758. end)
  759.  
  760. Mouse.Button1Up:connect(function()
  761. Activated = false
  762. end)
  763.  
  764. while true do
  765. wait()
  766. if Activated == true then
  767. game.Workspace.RemoteEvent:FireServer("MineBlock", Mouse.Target.Parent)
  768. end
  769. end
  770. end)
  771.  
  772. while wait() do
  773. if CActive == true then
  774. game.Workspace.RemoteEvent:FireServer("SpinCrate","Common Hat Crate")
  775.  
  776. elseif UActive == true then
  777. game.Workspace.RemoteEvent:FireServer("SpinCrate","Uncommon Hat Crate")
  778.  
  779. elseif RActive == true then
  780. game.Workspace.RemoteEvent:FireServer("SpinCrate","Rare Hat Crate")
  781.  
  782. elseif EActive == true then
  783. game.Workspace.RemoteEvent:FireServer("SpinCrate", "Epic Hat Crate")
  784. end
  785. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement