Advertisement
Pastebloxian

Booga Booga auto pick up

Mar 6th, 2019
4,178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.36 KB | None | 0 0
  1. --i will put a -- in front of everything i created or edited
  2. if game.CoreGui:FindFirstChild("Aud") then--
  3.     game.CoreGui.Aud:Destroy()--
  4. end--
  5. local toggle = true--
  6. local gonnagrab = {}--
  7. local berriesOnState = false--
  8. local Objects
  9. local mouse = game:GetService("Players").LocalPlayer:GetMouse()--
  10. local Aud = Instance.new("ScreenGui")--
  11. local Frame = Instance.new("Frame")--
  12. local Content = Instance.new("ScrollingFrame")--
  13. local ores = Instance.new("TextButton")--
  14. local ore = Instance.new("Frame")--
  15. local Steel = Instance.new("TextButton")--
  16. local UIListLayout = Instance.new("UIListLayout")--
  17. local Iron = Instance.new("TextButton")--
  18. local Adurite = Instance.new("TextButton")--
  19. local Crystal = Instance.new("TextButton")--
  20. local Coal = Instance.new("TextButton")--
  21. local Magnetite = Instance.new("TextButton")--
  22. local Gold = Instance.new("TextButton")--
  23. local Diamond = Instance.new("TextButton")--
  24. local Emerald = Instance.new("TextButton")--
  25. local void = Instance.new("TextButton")--
  26. local Building = Instance.new("TextButton")--
  27. local Build = Instance.new("Frame")--
  28. local UIListLayout_2 = Instance.new("UIListLayout")--
  29. local ice = Instance.new("TextButton")--
  30. local wood = Instance.new("TextButton")--
  31. local Stone = Instance.new("TextButton")--
  32. local log = Instance.new("TextButton")--
  33. local miscl = Instance.new("TextButton")--
  34. local misc = Instance.new("Frame")--
  35. local UIListLayout_3 = Instance.new("UIListLayout")--
  36. local Coins = Instance.new("TextButton")--
  37. local spirit = Instance.new("TextButton")--
  38. local Bags = Instance.new("TextButton")--
  39. local Essence = Instance.new("TextButton")--
  40. local Hide = Instance.new("TextButton")--
  41. local leaves = Instance.new("TextButton")--
  42. local Foood = Instance.new("TextButton")--
  43. local food = Instance.new("Frame")--
  44. local UIListLayout_4 = Instance.new("UIListLayout")--
  45. local Raw = Instance.new("TextButton")--
  46. local Cooked = Instance.new("TextButton")--
  47. local berries = Instance.new("TextButton")--
  48. local Orange = Instance.new("TextButton")--
  49. local Apple = Instance.new("TextButton")--
  50. local Bread = Instance.new("TextButton")--
  51. local jelly = Instance.new("TextButton")--
  52. local stik = Instance.new("TextButton")--
  53. local tog = Instance.new("TextButton")--
  54. local function checkname(text)--
  55.     for i,v in pairs(gonnagrab) do--
  56.         if string.find(text,v) then--
  57.             return true--
  58.         end--
  59.     end--
  60.     return nil--
  61. end--
  62. local function unknown(text)--
  63.     for i,v in pairs(gonnagrab) do--
  64.         if v == text then--
  65.             table.remove(gonnagrab,i)--
  66.             return false--
  67.         end--
  68.     end--
  69.     table.insert(gonnagrab, text)--
  70.     return true--
  71. end--
  72. local Pickup = function(Character)
  73.     local myPos = Character.HumanoidRootPart.Position
  74.     local Objects = {}
  75.     for i, v in pairs(workspace:GetChildren()) do
  76.         if v:FindFirstChild("Pickup") and v.ClassName == "Part" and checkname(v.Name) then -- i added "and checkname(v.Name)"
  77.             local Pos = v.Position
  78.             local Distance = (myPos - Pos).magnitude
  79.             if Distance < 40 then
  80.                 table.insert(Objects, v) --MeshPart
  81.             end
  82.         elseif v:FindFirstChild("Pickup") and v:FindFirstChild("Part") and v.Part.ClassName == "Part" and checkname(v.Name) then-- i added "and checkname(v.Name)"
  83.             local Pos = v.Part.Position
  84.             local Distance = (myPos - Pos).magnitude
  85.             if Distance < 40 then
  86.                 table.insert(Objects, v)
  87.             end
  88.         elseif v:FindFirstChild("Pickup") and v.ClassName == "UnionOperation" and checkname(v.Name) then-- i added "and checkname(v.Name)"
  89.             local Pos = v.Position
  90.             local Distance = (myPos - Pos).magnitude
  91.             if Distance < 40 then
  92.                 table.insert(Objects, v)
  93.             end
  94.         elseif v:FindFirstChild("Pickup") and v.ClassName == "MeshPart" and checkname(v.Name) then
  95.             local Pos = v.Position
  96.             local Distance = (myPos - Pos).magnitude
  97.             if Distance < 40 then
  98.                 table.insert(Objects, v)
  99.             end
  100.         elseif v.Name == "Deployables" then--i added this entire check myself to support chests and other types of stuff that holds items, even fish traps!
  101.             for a,b in pairs(v:GetChildren()) do--
  102.                 if b:FindFirstChild("Contents") then--
  103.                     for c,d in pairs(b.Contents:GetChildren()) do--
  104.                         if d.ClassName == "Model" and checkname(d.Name) then--
  105.                             local ref = d:FindFirstChild("Reference")--
  106.                             local Pos = ref.Position
  107.                             local Distance = (myPos - Pos).magnitude
  108.                             if Distance < 40 then
  109.                                 table.insert(Objects, d)
  110.                             end
  111.                         elseif checkname(d.Name) then--
  112.                             local Pos = d.Position
  113.                             local Distance = (myPos - Pos).magnitude
  114.                             if Distance < 40 then
  115.                                 table.insert(Objects, d)
  116.                             end
  117.                         end
  118.                     end--
  119.                 end--
  120.             end--
  121.         end--
  122.     end
  123.     for i, v in pairs(Objects) do
  124.         for i = 1, 10 do
  125.             if v.ClassName == "Model" then--
  126.                 v:FindFirstChild("Reference").Position = myPos--added and edited
  127.             else--
  128.                 v.Position = myPos --edited
  129.             end--
  130.             game:GetService("ReplicatedStorage").Events.Pickup:FireServer(v)
  131.         end
  132.     end
  133. end
  134. Aud.Name = "Aud"--
  135. Aud.Parent = game.CoreGui--
  136. Aud.ResetOnSpawn = false--
  137. Frame.Parent = Aud--
  138. Frame.Active = true--
  139. Frame.Draggable = true--
  140. Frame.Position = UDim2.new(0, 500, 0, 200)--
  141. Frame.Size = UDim2.new(0.150000006, 0, 0.170000002, 0)--
  142. Frame.Style = Enum.FrameStyle.RobloxRound--
  143. Content.Name = "Content"--
  144. Content.Parent = Frame--
  145. Content.Active = true--
  146. Content.BackgroundTransparency = 1--
  147. Content.ClipsDescendants = false--
  148. Content.Size = UDim2.new(1, 0, 1, 0)--
  149. Content.CanvasSize = UDim2.new(0, 0, 0, 200)--
  150. ores.Name = "ores"--
  151. ores.Parent = Content--
  152. ores.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)--
  153. ores.Text = "Ores"--
  154. ore.Name = "ore"--
  155. ore.Parent = ores--
  156. ore.Active = true--
  157. ore.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)--
  158. ore.BackgroundTransparency = 1--------------------------------------------------------------im getting tired so everything underneath this i created
  159. ore.Position = UDim2.new(-0.100000001, 0, 0, 0)
  160. ore.Size = UDim2.new(-0.600000024, 0, 5, 0)
  161. Steel.Name = "Steel"
  162. Steel.Parent = ore
  163. Steel.BackgroundColor3 = Color3.new(1, 1, 1)
  164. Steel.Size = UDim2.new(1, 0, 0.200000003, 0)
  165. Steel.Font = Enum.Font.SourceSans
  166. Steel.Text = "Steel [false]"
  167. Steel.TextSize = 14
  168. UIListLayout.Parent = ore
  169. UIListLayout.Padding = UDim.new(0.0500000007, 0)
  170. Iron.Name = "Iron"
  171. Iron.Parent = ore
  172. Iron.BackgroundColor3 = Color3.new(1, 1, 1)
  173. Iron.Size = UDim2.new(1, 0, 0.200000003, 0)
  174. Iron.Font = Enum.Font.SourceSans
  175. Iron.Text = "Iron [false]"
  176. Iron.TextSize = 14
  177. Adurite.Name = "Adurite"
  178. Adurite.Parent = ore
  179. Adurite.BackgroundColor3 = Color3.new(1, 1, 1)
  180. Adurite.Size = UDim2.new(1, 0, 0.200000003, 0)
  181. Adurite.Font = Enum.Font.SourceSans
  182. Adurite.Text = "Adurite [false]"
  183. Adurite.TextSize = 14
  184. Crystal.Name = "Crystal"
  185. Crystal.Parent = ore
  186. Crystal.BackgroundColor3 = Color3.new(1, 1, 1)
  187. Crystal.Size = UDim2.new(1, 0, 0.200000003, 0)
  188. Crystal.Font = Enum.Font.SourceSans
  189. Crystal.Text = "Cystal [false]"
  190. Crystal.TextSize = 14
  191. Coal.Name = "Coal"
  192. Coal.Parent = ore
  193. Coal.BackgroundColor3 = Color3.new(1, 1, 1)
  194. Coal.Size = UDim2.new(1, 0, 0.200000003, 0)
  195. Coal.Font = Enum.Font.SourceSans
  196. Coal.Text = "Coal [false]"
  197. Coal.TextSize = 14
  198. Coal.TextTransparency = -1
  199. Magnetite.Name = "Magnetite"
  200. Magnetite.Parent = ore
  201. Magnetite.BackgroundColor3 = Color3.new(1, 1, 1)
  202. Magnetite.Size = UDim2.new(1, 0, 0.200000003, 0)
  203. Magnetite.Font = Enum.Font.SourceSans
  204. Magnetite.Text = "Magnetite [false]"
  205. Magnetite.TextSize = 14
  206. Gold.Name = "Gold"
  207. Gold.Parent = ore
  208. Gold.BackgroundColor3 = Color3.new(1, 1, 1)
  209. Gold.Size = UDim2.new(1, 0, 0.200000003, 0)
  210. Gold.Font = Enum.Font.SourceSans
  211. Gold.Text = "Gold [false]"
  212. Gold.TextSize = 14
  213. Diamond.Name = "Diamond"
  214. Diamond.Parent = ore
  215. Diamond.BackgroundColor3 = Color3.new(1, 1, 1)
  216. Diamond.Size = UDim2.new(1, 0, 0.200000003, 0)
  217. Diamond.Font = Enum.Font.SourceSans
  218. Diamond.Text = "Pink Diamond [false]"
  219. Diamond.TextScaled = true
  220. Diamond.TextSize = 14
  221. Diamond.TextWrapped = true
  222. Emerald.Name = "Emerald"
  223. Emerald.Parent = ore
  224. Emerald.BackgroundColor3 = Color3.new(1, 1, 1)
  225. Emerald.Size = UDim2.new(1, 0, 0.200000003, 0)
  226. Emerald.Font = Enum.Font.SourceSans
  227. Emerald.Text = "Emerald [false]"
  228. Emerald.TextSize = 14
  229. void.Name = "void"
  230. void.Parent = ore
  231. void.BackgroundColor3 = Color3.new(1, 1, 1)
  232. void.Size = UDim2.new(1, 0, 0.200000003, 0)
  233. void.Font = Enum.Font.SourceSans
  234. void.Text = "Void [false]"
  235. void.TextSize = 14
  236. Building.Name = "Building"
  237. Building.Parent = Content
  238. Building.Position = UDim2.new(0, 0, 0.100000001, 0)
  239. Building.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
  240. Building.Text = "Building"
  241. Build.Name = "Build"
  242. Build.Parent = Building
  243. Build.Active = true
  244. Build.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  245. Build.BackgroundTransparency = 1
  246. Build.Position = UDim2.new(-0.100000001, 0, 0, 0)
  247. Build.Size = UDim2.new(-0.600000024, 0, 5, 0)
  248. Build.Visible = false
  249. UIListLayout_2.Parent = Build
  250. UIListLayout_2.Padding = UDim.new(0.0500000007, 0)
  251. ice.Name = "ice"
  252. ice.Parent = Build
  253. ice.BackgroundColor3 = Color3.new(1, 1, 1)
  254. ice.Size = UDim2.new(1, 0, 0.200000003, 0)
  255. ice.Font = Enum.Font.SourceSans
  256. ice.Text = "Ice [false]"
  257. ice.TextSize = 14
  258. wood.Name = "wood"
  259. wood.Parent = Build
  260. wood.BackgroundColor3 = Color3.new(1, 1, 1)
  261. wood.Size = UDim2.new(1, 0, 0.200000003, 0)
  262. wood.Font = Enum.Font.SourceSans
  263. wood.Text = "Wood [false]"
  264. wood.TextSize = 14
  265. wood.TextTransparency = -1
  266. Stone.Name = "Stone"
  267. Stone.Parent = Build
  268. Stone.BackgroundColor3 = Color3.new(1, 1, 1)
  269. Stone.Size = UDim2.new(1, 0, 0.200000003, 0)
  270. Stone.Font = Enum.Font.SourceSans
  271. Stone.Text = "Stone [false]"
  272. Stone.TextSize = 14
  273. log.Name = "log"
  274. log.Parent = Build
  275. log.BackgroundColor3 = Color3.new(1, 1, 1)
  276. log.Size = UDim2.new(1, 0, 0.200000003, 0)
  277. log.Font = Enum.Font.SourceSans
  278. log.Text = "Logs [false]"
  279. log.TextSize = 14
  280. miscl.Name = "miscl"
  281. miscl.Parent = Content
  282. miscl.Position = UDim2.new(0, 0, 0.200000003, 0)
  283. miscl.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
  284. miscl.Text = "Misc"
  285. misc.Name = "misc"
  286. misc.Parent = miscl
  287. misc.Active = true
  288. misc.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  289. misc.BackgroundTransparency = 1
  290. misc.Position = UDim2.new(-0.100000001, 0, 0, 0)
  291. misc.Size = UDim2.new(-0.600000024, 0, 5, 0)
  292. misc.Visible = false
  293. UIListLayout_3.Parent = misc
  294. UIListLayout_3.Padding = UDim.new(0.0500000007, 0)
  295. Coins.Name = "Coins"
  296. Coins.Parent = misc
  297. Coins.BackgroundColor3 = Color3.new(1, 1, 1)
  298. Coins.Size = UDim2.new(1, 0, 0.200000003, 0)
  299. Coins.Font = Enum.Font.SourceSans
  300. Coins.Text = "Coins [false]"
  301. Coins.TextSize = 14
  302. spirit.Name = "spirit"
  303. spirit.Parent = misc
  304. spirit.BackgroundColor3 = Color3.new(1, 1, 1)
  305. spirit.Size = UDim2.new(1, 0, 0.200000003, 0)
  306. spirit.Font = Enum.Font.SourceSans
  307. spirit.Text = "Spirit [false]"
  308. spirit.TextSize = 14
  309. Bags.Name = "Bags"
  310. Bags.Parent = misc
  311. Bags.BackgroundColor3 = Color3.new(1, 1, 1)
  312. Bags.Size = UDim2.new(1, 0, 0.200000003, 0)
  313. Bags.Font = Enum.Font.SourceSans
  314. Bags.Text = "Bags [false]"
  315. Bags.TextSize = 14
  316. Bags.TextTransparency = -1
  317. Essence.Name = "Essence"
  318. Essence.Parent = misc
  319. Essence.BackgroundColor3 = Color3.new(1, 1, 1)
  320. Essence.Size = UDim2.new(1, 0, 0.200000003, 0)
  321. Essence.Font = Enum.Font.SourceSans
  322. Essence.Text = "Essence [false]"
  323. Essence.TextSize = 14
  324. Hide.Name = "Hide"
  325. Hide.Parent = misc
  326. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  327. Hide.Size = UDim2.new(1, 0, 0.200000003, 0)
  328. Hide.Font = Enum.Font.SourceSans
  329. Hide.Text = "Hide [false]"
  330. Hide.TextSize = 14
  331. leaves.Name = "leaves"
  332. leaves.Parent = misc
  333. leaves.BackgroundColor3 = Color3.new(1, 1, 1)
  334. leaves.Size = UDim2.new(1, 0, 0.200000003, 0)
  335. leaves.Font = Enum.Font.SourceSans
  336. leaves.Text = "Leaves [false]"
  337. leaves.TextSize = 14
  338. stik.Name = "stik"
  339. stik.Parent = Build
  340. stik.BackgroundColor3 = Color3.new(1, 1, 1)
  341. stik.Size = UDim2.new(1, 0, 0.200000003, 0)
  342. stik.Font = Enum.Font.SourceSans
  343. stik.Text = "Stick [false]"
  344. stik.TextSize = 14
  345. Foood.Name = "Foood"
  346. Foood.Parent = Content
  347. Foood.Position = UDim2.new(0, 0, 0.300000012, 0)
  348. Foood.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
  349. Foood.Text = "Food"
  350. food.Name = "food"
  351. food.Parent = Foood
  352. food.Active = true
  353. food.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  354. food.BackgroundTransparency = 1
  355. food.Position = UDim2.new(-0.100000001, 0, 0, 0)
  356. food.Size = UDim2.new(-0.600000024, 0, 5, 0)
  357. food.Visible = false
  358. UIListLayout_4.Parent = food
  359. UIListLayout_4.Padding = UDim.new(0.0500000007, 0)
  360. Raw.Name = "Raw"
  361. Raw.Parent = food
  362. Raw.BackgroundColor3 = Color3.new(1, 1, 1)
  363. Raw.Size = UDim2.new(1, 0, 0.200000003, 0)
  364. Raw.Font = Enum.Font.SourceSans
  365. Raw.Text = "Raw [false]"
  366. Raw.TextSize = 14
  367. Raw.TextTransparency = -1
  368. Cooked.Name = "Cooked"
  369. Cooked.Parent = food
  370. Cooked.BackgroundColor3 = Color3.new(1, 1, 1)
  371. Cooked.Size = UDim2.new(1, 0, 0.200000003, 0)
  372. Cooked.Font = Enum.Font.SourceSans
  373. Cooked.Text = "Cooked [false]"
  374. Cooked.TextSize = 14
  375. berries.Name = "berries"
  376. berries.Parent = food
  377. berries.BackgroundColor3 = Color3.new(1, 1, 1)
  378. berries.Size = UDim2.new(1, 0, 0.200000003, 0)
  379. berries.Font = Enum.Font.SourceSans
  380. berries.Text = "Berries/Fruit [false]"
  381. berries.TextSize = 14
  382. Orange.Name = "Orange"
  383. Orange.Parent = food
  384. Orange.BackgroundColor3 = Color3.new(1, 1, 1)
  385. Orange.Size = UDim2.new(1, 0, 0.200000003, 0)
  386. Orange.Font = Enum.Font.SourceSans
  387. Orange.Text = "Orange [false]"
  388. Orange.TextSize = 14
  389. Apple.Name = "Apple"
  390. Apple.Parent = food
  391. Apple.BackgroundColor3 = Color3.new(1, 1, 1)
  392. Apple.Size = UDim2.new(1, 0, 0.200000003, 0)
  393. Apple.Font = Enum.Font.SourceSans
  394. Apple.Text = "Apple [false]"
  395. Apple.TextSize = 14
  396. Bread.Name = "Bread"
  397. Bread.Parent = food
  398. Bread.BackgroundColor3 = Color3.new(1, 1, 1)
  399. Bread.Size = UDim2.new(1, 0, 0.200000003, 0)
  400. Bread.Font = Enum.Font.SourceSans
  401. Bread.Text = "Bread [false]"
  402. Bread.TextSize = 14
  403. jelly.Name = "jelly"
  404. jelly.Parent = food
  405. jelly.BackgroundColor3 = Color3.new(1, 1, 1)
  406. jelly.Size = UDim2.new(1, 0, 0.200000003, 0)
  407. jelly.Font = Enum.Font.SourceSans
  408. jelly.Text = "Jelly [false]"
  409. jelly.TextSize = 14
  410. tog.Name = "tog"
  411. tog.Parent = Content
  412. tog.Position = UDim2.new(0, 0, 0.400000006, 0)
  413. tog.Size = UDim2.new(0.899999976, 0, 0.0799999982, 0)
  414. tog.Text = "Toggle [true]"
  415. mouse.KeyDown:connect(function(key)
  416.     if toggle then
  417.         if key == "y" then
  418.             Pickup(game.Players.LocalPlayer.Character)
  419.         end
  420.     end
  421. end)
  422. tog.MouseButton1Down:connect(function()
  423.     toggle = not toggle
  424.     tog.Text = "Toggle ["..tostring(toggle).."]"
  425. end)
  426. Building.MouseButton1Down:connect(function()
  427.     food.Visible = false
  428.     misc.Visible = false
  429.     ore.Visible = false
  430.     Build.Visible = true
  431. end)
  432. miscl.MouseButton1Down:connect(function()
  433.     Build.Visible = false
  434.     food.Visible = false
  435.     ore.Visible = false
  436.     misc.Visible = true
  437. end)
  438. Foood.MouseButton1Down:connect(function()
  439.     Build.Visible = false
  440.     misc.Visible = false
  441.     ore.Visible = false
  442.     food.Visible = true
  443. end)
  444. ores.MouseButton1Down:connect(function()
  445.     Build.Visible = false
  446.     misc.Visible = false
  447.     food.Visible = false
  448.     ore.Visible = true
  449. end)
  450. Stone.MouseButton1Down:connect(function()
  451.     local text = "Stone"
  452.     Stone.Text = text.." ["..tostring(unknown(text)).."]"
  453. end)
  454. ice.MouseButton1Down:connect(function()
  455.     local text = "Ice"
  456.     ice.Text = text.." ["..tostring(unknown(text)).."]"
  457. end)
  458. log.MouseButton1Down:connect(function()
  459.     local text = "Log"
  460.     log.Text = text.." ["..tostring(unknown(text)).."]"
  461. end)
  462. wood.MouseButton1Down:connect(function()
  463.     local text = "Wood"
  464.     wood.Text = text.." ["..tostring(unknown(text)).."]"
  465. end)
  466. jelly.MouseButton1Down:connect(function()
  467.     local text = "Jelly"
  468.     jelly.Text = text.." ["..tostring(unknown(text)).."]"
  469. end)
  470. Cooked.MouseButton1Down:connect(function()
  471.     local text = "Cooked"
  472.     Cooked.Text = text.." ["..tostring(unknown(text)).."]"
  473. end)
  474. Apple.MouseButton1Down:connect(function()
  475.     local text = "Apple"
  476.     Apple.Text = text.." ["..tostring(unknown(text)).."]"
  477. end)
  478. Bread.MouseButton1Down:connect(function()
  479.     local text = "Bread"
  480.     Bread.Text = text.." ["..tostring(unknown(text)).."]"
  481. end)
  482. berries.MouseButton1Down:connect(function()
  483.     berriesOnState = not berriesOnState
  484.     unknown("fruit")
  485.     unknown("Berry")
  486.     berries.Text = "Berries/Fruit ["..tostring(berriesOnState).."]"
  487. end)
  488. spirit.MouseButton1Down:connect(function()
  489.     local text = "Spirit"
  490.     spirit.Text = text.." ["..tostring(unknown(text)).."]"
  491. end)
  492. Raw.MouseButton1Down:connect(function()
  493.     local text = "Raw"
  494.     Raw.Text = text.." ["..tostring(unknown(text)).."]"
  495. end)
  496. Orange.MouseButton1Down:connect(function()
  497.     local text = "Orange"
  498.     Orange.Text = text.." ["..tostring(unknown(text)).."]"
  499. end)
  500. Bags.MouseButton1Down:connect(function()
  501.     local text = "Bag"
  502.     Bags.Text = text.." ["..tostring(unknown(text)).."]"
  503. end)
  504. Coins.MouseButton1Down:connect(function()
  505.     local text = "Coin"
  506.     Coins.Text = text.." ["..tostring(unknown(text)).."]"
  507. end)
  508. leaves.MouseButton1Down:connect(function()
  509.     local text = "Leaves"
  510.     leaves.Text = text.." ["..tostring(unknown(text)).."]"
  511. end)
  512. Essence.MouseButton1Down:connect(function()
  513.     local text = "Essence"
  514.     Essence.Text = text.." ["..tostring(unknown(text)).."]"
  515. end)
  516. Hide.MouseButton1Down:connect(function()
  517.     local text = "Hide"
  518.     Hide.Text = text.." ["..tostring(unknown(text)).."]"
  519. end)
  520. Diamond.MouseButton1Down:connect(function()
  521.     local text = "Diamond"
  522.     Diamond.Text = text.." ["..tostring(unknown(text)).."]"
  523. end)
  524. Adurite.MouseButton1Down:connect(function()
  525.     local text = "Adurite"
  526.     Adurite.Text = text.." ["..tostring(unknown(text)).."]"
  527. end)
  528. Coal.MouseButton1Down:connect(function()
  529.     local text = "Coal"
  530.     Coal.Text = text.." ["..tostring(unknown(text)).."]"
  531. end)
  532. Crystal.MouseButton1Down:connect(function()
  533.     local text = "Crystal"
  534.     Crystal.Text = text.." ["..tostring(unknown(text)).."]"
  535. end)
  536. Gold.MouseButton1Down:connect(function()
  537.     local text = "Gold"
  538.     Gold.Text = text.." ["..tostring(unknown(text)).."]"
  539. end)
  540. void.MouseButton1Down:connect(function()
  541.     local text = "Void"
  542.     void.Text = text.." ["..tostring(unknown(text)).."]"
  543. end)
  544. Iron.MouseButton1Down:connect(function()
  545.     local text = "Iron"
  546.     Iron.Text = text.." ["..tostring(unknown(text)).."]"
  547. end)
  548. Magnetite.MouseButton1Down:connect(function()
  549.     local text = "Magnetite"
  550.     Magnetite.Text = text.." ["..tostring(unknown(text)).."]"
  551. end)
  552. Emerald.MouseButton1Down:connect(function()
  553.     local text = "Emerald"
  554.     Emerald.Text = text.." ["..tostring(unknown(text)).."]"
  555. end)
  556. Steel.MouseButton1Down:connect(function()
  557.     local text = "Steel"
  558.     Steel.Text = text.." ["..tostring(unknown(text)).."]"
  559. end)
  560. stik.MouseButton1Down:connect(function()
  561.     local text = "Stick"
  562.     stik.Text = text.." ["..tostring(unknown(text)).."]"
  563. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement