Advertisement
Doggo133754

Pastebon

Aug 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.76 KB | None | 0 0
  1. -- Made by Ninja Hacks and Sir meme
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local MoneyFarm = Instance.new("TextButton")
  7. local TextLabel_2 = Instance.new("TextLabel")
  8. local _1 = Instance.new("TextButton")
  9. local _2 = Instance.new("TextButton")
  10. local _3 = Instance.new("TextButton")
  11. local _4 = Instance.new("TextButton")
  12. local _5 = Instance.new("TextButton")
  13. local _6 = Instance.new("TextButton")
  14. local _7 = Instance.new("TextButton")
  15. local _8 = Instance.new("TextButton")
  16. local _9 = Instance.new("TextButton")
  17. local _10 = Instance.new("TextButton")
  18. local _11 = Instance.new("TextButton")
  19. local _12 = Instance.new("TextButton")
  20. --Properties:
  21. ScreenGui.Parent = game.CoreGui
  22.  
  23. Main.Name = "Main"
  24. Main.Parent = ScreenGui
  25. Main.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  26. Main.BorderSizePixel = 0
  27. Main.Position = UDim2.new(0.0271790083, 0, 0.405138344, 0)
  28. Main.Size = UDim2.new(0, 206, 0, 269)
  29. Main.Active = true
  30. Main.Draggable = true
  31.  
  32. Frame.Parent = Main
  33. Frame.BackgroundColor3 = Color3.new(0.286275, 0.866667, 0.866667)
  34. Frame.BorderSizePixel = 0
  35. Frame.Size = UDim2.new(0, 206, 0, 20)
  36.  
  37. TextLabel.Parent = Frame
  38. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  39. TextLabel.BackgroundTransparency = 1
  40. TextLabel.BorderSizePixel = 0
  41. TextLabel.Position = UDim2.new(0.228155345, 0, 0, 0)
  42. TextLabel.Size = UDim2.new(0, 119, 0, 20)
  43. TextLabel.Font = Enum.Font.SourceSansSemibold
  44. TextLabel.Text = "Sir Msme"
  45. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  46. TextLabel.TextSize = 14
  47.  
  48. MoneyFarm.Name = "MoneyFarm"
  49. MoneyFarm.Parent = Main
  50. MoneyFarm.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  51. MoneyFarm.BorderSizePixel = 0
  52. MoneyFarm.Position = UDim2.new(0.0145631069, 0, 0.104089223, 0)
  53. MoneyFarm.Size = UDim2.new(0, 129, 0, 33)
  54. MoneyFarm.Font = Enum.Font.SourceSans
  55. MoneyFarm.Text = "Money Farm"
  56. MoneyFarm.TextColor3 = Color3.new(1, 1, 1)
  57. MoneyFarm.TextScaled = true
  58. MoneyFarm.TextSize = 14
  59. MoneyFarm.TextWrapped = true
  60.  
  61. TextLabel_2.Parent = Main
  62. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  63. TextLabel_2.BackgroundTransparency = 1
  64. TextLabel_2.BorderSizePixel = 0
  65. TextLabel_2.Position = UDim2.new(0, 0, 0.356877327, 0)
  66. TextLabel_2.Size = UDim2.new(0, 206, 0, 50)
  67. TextLabel_2.Font = Enum.Font.SourceSans
  68. TextLabel_2.Text = "Buy menu"
  69. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  70. TextLabel_2.TextScaled = true
  71. TextLabel_2.TextSize = 14
  72. TextLabel_2.TextWrapped = true
  73.  
  74. _1.Name = "1"
  75. _1.Parent = Main
  76. _1.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  77. _1.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  78. _1.Position = UDim2.new(0.0631067976, 0, 0.542750955, 0)
  79. _1.Size = UDim2.new(0, 23, 0, 23)
  80. _1.Font = Enum.Font.SourceSans
  81. _1.Text = "1"
  82. _1.TextColor3 = Color3.new(1, 1, 1)
  83. _1.TextSize = 14
  84.  
  85. _2.Name = "2"
  86. _2.Parent = Main
  87. _2.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  88. _2.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  89. _2.Position = UDim2.new(0.22815533, 0, 0.542750955, 0)
  90. _2.Size = UDim2.new(0, 23, 0, 23)
  91. _2.Font = Enum.Font.SourceSans
  92. _2.Text = "2"
  93. _2.TextColor3 = Color3.new(1, 1, 1)
  94. _2.TextSize = 14
  95.  
  96. _3.Name = "3"
  97. _3.Parent = Main
  98. _3.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  99. _3.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  100. _3.Position = UDim2.new(0.388349473, 0, 0.542750955, 0)
  101. _3.Size = UDim2.new(0, 23, 0, 23)
  102. _3.Font = Enum.Font.SourceSans
  103. _3.Text = "3"
  104. _3.TextColor3 = Color3.new(1, 1, 1)
  105. _3.TextSize = 14
  106.  
  107. _4.Name = "4"
  108. _4.Parent = Main
  109. _4.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  110. _4.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  111. _4.Position = UDim2.new(0.529126167, 0, 0.542750955, 0)
  112. _4.Size = UDim2.new(0, 23, 0, 23)
  113. _4.Font = Enum.Font.SourceSans
  114. _4.Text = "4"
  115. _4.TextColor3 = Color3.new(1, 1, 1)
  116. _4.TextSize = 14
  117.  
  118. _5.Name = "5"
  119. _5.Parent = Main
  120. _5.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  121. _5.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  122. _5.Position = UDim2.new(0.694174707, 0, 0.542750955, 0)
  123. _5.Size = UDim2.new(0, 23, 0, 23)
  124. _5.Font = Enum.Font.SourceSans
  125. _5.Text = "5"
  126. _5.TextColor3 = Color3.new(1, 1, 1)
  127. _5.TextSize = 14
  128.  
  129. _6.Name = "6"
  130. _6.Parent = Main
  131. _6.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  132. _6.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  133. _6.Position = UDim2.new(0.859223247, 0, 0.542750955, 0)
  134. _6.Size = UDim2.new(0, 23, 0, 23)
  135. _6.Font = Enum.Font.SourceSans
  136. _6.Text = "6"
  137. _6.TextColor3 = Color3.new(1, 1, 1)
  138. _6.TextSize = 14
  139.  
  140. _7.Name = "7"
  141. _7.Parent = Main
  142. _7.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  143. _7.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  144. _7.Position = UDim2.new(0.0631067157, 0, 0.67286247, 0)
  145. _7.Size = UDim2.new(0, 23, 0, 23)
  146. _7.Font = Enum.Font.SourceSans
  147. _7.Text = "7"
  148. _7.TextColor3 = Color3.new(1, 1, 1)
  149. _7.TextSize = 14
  150.  
  151. _8.Name = "8"
  152. _8.Parent = Main
  153. _8.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  154. _8.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  155. _8.Position = UDim2.new(0.228155255, 0, 0.67286247, 0)
  156. _8.Size = UDim2.new(0, 23, 0, 23)
  157. _8.Font = Enum.Font.SourceSans
  158. _8.Text = "8"
  159. _8.TextColor3 = Color3.new(1, 1, 1)
  160. _8.TextSize = 14
  161.  
  162. _9.Name = "9"
  163. _9.Parent = Main
  164. _9.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  165. _9.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  166. _9.Position = UDim2.new(0.388349414, 0, 0.67286247, 0)
  167. _9.Size = UDim2.new(0, 23, 0, 23)
  168. _9.Font = Enum.Font.SourceSans
  169. _9.Text = "9"
  170. _9.TextColor3 = Color3.new(1, 1, 1)
  171. _9.TextSize = 14
  172.  
  173. _10.Name = "10"
  174. _10.Parent = Main
  175. _10.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  176. _10.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  177. _10.Position = UDim2.new(0.529126227, 0, 0.67286247, 0)
  178. _10.Size = UDim2.new(0, 23, 0, 23)
  179. _10.Font = Enum.Font.SourceSans
  180. _10.Text = "10"
  181. _10.TextColor3 = Color3.new(1, 1, 1)
  182. _10.TextSize = 14
  183.  
  184. _11.Name = "11"
  185. _11.Parent = Main
  186. _11.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  187. _11.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  188. _11.Position = UDim2.new(0.694174767, 0, 0.67286247, 0)
  189. _11.Size = UDim2.new(0, 23, 0, 23)
  190. _11.Font = Enum.Font.SourceSans
  191. _11.Text = "11"
  192. _11.TextColor3 = Color3.new(1, 1, 1)
  193. _11.TextSize = 14
  194.  
  195. _12.Name = "12"
  196. _12.Parent = Main
  197. _12.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  198. _12.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  199. _12.Position = UDim2.new(0.859223306, 0, 0.67286247, 0)
  200. _12.Size = UDim2.new(0, 23, 0, 23)
  201. _12.Font = Enum.Font.SourceSans
  202. _12.Text = "12"
  203. _12.TextColor3 = Color3.new(1, 1, 1)
  204. _12.TextSize = 14
  205. -- Scripts:
  206.  
  207.  
  208.  
  209. _1.MouseButton1Click:Connect(function()
  210. local memek = "Tier 1"
  211.  
  212. local itemname= "Egg"
  213.  
  214. local kontol = "Buy"
  215.  
  216. local event = game:GetService("Workspace").__REMOTES["Shop"]
  217.  
  218. event:InvokeServer(kontol, itemname, memek)
  219. end)
  220.  
  221. _2.MouseButton1Click:Connect(function()
  222. local memek = "Tier 2"
  223.  
  224. local itemname= "Egg"
  225.  
  226. local kontol = "Buy"
  227.  
  228. local event = game:GetService("Workspace").__REMOTES["Shop"]
  229.  
  230. event:InvokeServer(kontol, itemname, memek)
  231. end)
  232.  
  233. _3.MouseButton1Click:Connect(function()
  234. local memek = "Tier 3"
  235.  
  236. local itemname= "Egg"
  237.  
  238. local kontol = "Buy"
  239.  
  240. local event = game:GetService("Workspace").__REMOTES["Shop"]
  241.  
  242. event:InvokeServer(kontol, itemname, memek)
  243. end)
  244.  
  245. _4.MouseButton1Click:Connect(function()
  246. local memek = "Tier 4"
  247.  
  248. local itemname= "Egg"
  249.  
  250. local kontol = "Buy"
  251.  
  252. local event = game:GetService("Workspace").__REMOTES["Shop"]
  253.  
  254. event:InvokeServer(kontol, itemname, memek)
  255. end)
  256.  
  257. _5.MouseButton1Click:Connect(function()
  258. local memek = "Tier 5"
  259.  
  260. local itemname= "Egg"
  261.  
  262. local kontol = "Buy"
  263.  
  264. local event = game:GetService("Workspace").__REMOTES["Shop"]
  265.  
  266. event:InvokeServer(kontol, itemname, memek)
  267. end)
  268.  
  269. _6.MouseButton1Click:Connect(function()
  270. local memek = "Tier 6"
  271.  
  272. local itemname= "Egg"
  273.  
  274. local kontol = "Buy"
  275.  
  276. local event = game:GetService("Workspace").__REMOTES["Shop"]
  277.  
  278. event:InvokeServer(kontol, itemname, memek)
  279. end)
  280.  
  281.  
  282. _7.MouseButton1Click:Connect(function()
  283. local memek = "Tier 7"
  284.  
  285. local itemname= "Egg"
  286.  
  287. local kontol = "Buy"
  288.  
  289. local event = game:GetService("Workspace").__REMOTES["Shop"]
  290.  
  291. event:InvokeServer(kontol, itemname, memek)
  292. end)
  293.  
  294. _8.MouseButton1Click:Connect(function()
  295. local memek = "Tier 8"
  296.  
  297. local itemname= "Egg"
  298.  
  299. local kontol = "Buy"
  300.  
  301. local event = game:GetService("Workspace").__REMOTES["Shop"]
  302.  
  303. event:InvokeServer(kontol, itemname, memek)
  304. end)
  305.  
  306. _9.MouseButton1Click:Connect(function()
  307. local memek = "Tier 9"
  308.  
  309. local itemname= "Egg"
  310.  
  311. local kontol = "Buy"
  312.  
  313. local event = game:GetService("Workspace").__REMOTES["Shop"]
  314.  
  315. event:InvokeServer(kontol, itemname, memek)
  316. end)
  317.  
  318. _10.MouseButton1Click:Connect(function()
  319. local memek = "Tier 10"
  320.  
  321. local itemname= "Egg"
  322.  
  323. local kontol = "Buy"
  324.  
  325. local event = game:GetService("Workspace").__REMOTES["Shop"]
  326.  
  327. event:InvokeServer(kontol, itemname, memek)
  328. end)
  329.  
  330. _11.MouseButton1Click:Connect(function()
  331. local memek = "Tier 11"
  332.  
  333. local itemname= "Egg"
  334.  
  335. local kontol = "Buy"
  336.  
  337. local event = game:GetService("Workspace").__REMOTES["Shop"]
  338.  
  339. event:InvokeServer(kontol, itemname, memek)
  340. end)
  341.  
  342. _12.MouseButton1Click:Connect(function()
  343. local memek = "Tier 12"
  344.  
  345. local itemname= "Egg"
  346.  
  347. local kontol = "Buy"
  348.  
  349. local event = game:GetService("Workspace").__REMOTES["Shop"]
  350.  
  351. event:InvokeServer(kontol, itemname, memek)
  352.  
  353. MoneyFarm.MouseButton1Click:Connect(function()
  354. local barriers = "Barrier5" or "Barrier4" or "Barrier3" or "Barrier2" or "Barrier1" -- list Barrie1, Barrier2, Barrier3, Barrier4, Barrier5
  355.  
  356. local event = game:GetService("Workspace").__THINGS["Barriers"]
  357.  
  358. event:remove()
  359.  
  360. local amount = 1000 -- experiment with this value, 1000 is maximum and for pets with high levels
  361. local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
  362. local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
  363. local plr = game:GetService("Players").LocalPlayer
  364. local petids = {}
  365. local pets = game:GetService("Workspace")["__REMOTES"].Pets
  366. local a = #save[plr.Name]["Save"]["Pets"]
  367. local done = "lol meme"
  368. function random(t)
  369. local keys = {}
  370. for key, value in pairs(t) do
  371. keys[#keys+1] = key
  372. end
  373. index = keys[math.random(1, #keys)]
  374. return t[index]
  375. end
  376. for i=1,a do
  377. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  378. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  379. end
  380. a = a - 1
  381. end
  382. function co(b)
  383. local done = b
  384. print("Mining coin: " .. b.Name)
  385. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  386. warn(b.Name .. "- Health: " .. b.Health.Value)
  387. wait(0.2)
  388. coins:FireServer("Mine",b.Name, amount, random(petids))
  389. end
  390. end
  391. for _,b in next, workspace.__THINGS.Coins:GetChildren() do
  392. if(done ~= b) then
  393. coroutine.wrap(function()co(b)end)()
  394. end
  395. end
  396. end)
  397. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement