OskarMaDzika

Untitled

Jul 6th, 2019
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. while true do
  2. wait(0.0001)
  3. local amount = 1000 -- Lower It Out For Small Pets . Higher For High Pets .
  4. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  5. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  6. local plr = game:GetService("Players").LocalPlayer
  7. local petids = {}
  8. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  9. local a = #save[plr.Name]["Save"]["Pets"]
  10. local done = "lol meme"
  11. function random(t)
  12. local keys = {}
  13. for key, value in pairs(t) do
  14. keys[#keys+1] = key
  15. end
  16. index = keys[math.random(1, #keys)]
  17. return t[index]
  18. end
  19. for i=1,a do
  20. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  21. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  22. end
  23. a = a - 1
  24. end
  25. function co(b)
  26. local done = b
  27. print("Mining coin: " .. b.Name)
  28. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  29. warn(b.Name .. "- Health: " .. b.Health.Value)
  30. wait(0.2)
  31. coins:FireServer("Mine", b.Name, amount, random(petids))
  32. end
  33. end
  34. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  35. if(done ~= b) then
  36. coroutine.wrap(function()co(b)end)()
  37. end
  38. end
  39. wait(0.0002)
  40. local amount = 800 -- Lower It Out For Small Pets . Higher For High Pets .
  41. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  42. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  43. local plr = game:GetService("Players").LocalPlayer
  44. local petids = {}
  45. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  46. local a = #save[plr.Name]["Save"]["Pets"]
  47. local done = "lol meme"
  48. function random(t)
  49. local keys = {}
  50. for key, value in pairs(t) do
  51. keys[#keys+1] = key
  52. end
  53. index = keys[math.random(1, #keys)]
  54. return t[index]
  55. end
  56. for i=1,a do
  57. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  58. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  59. end
  60. a = a - 1
  61. end
  62. function co(b)
  63. local done = b
  64. print("Mining coin: " .. b.Name)
  65. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  66. warn(b.Name .. "- Health: " .. b.Health.Value)
  67. wait(0.2)
  68. coins:FireServer("Mine", b.Name, amount, random(petids))
  69. end
  70. end
  71. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  72. if(done ~= b) then
  73. coroutine.wrap(function()co(b)end)()
  74. end
  75. end
  76. wait(0.0003)
  77. local amount = 500 -- Lower It Out For Small Pets . Higher For High Pets .
  78. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  79. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  80. local plr = game:GetService("Players").LocalPlayer
  81. local petids = {}
  82. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  83. local a = #save[plr.Name]["Save"]["Pets"]
  84. local done = "lol meme"
  85. function random(t)
  86. local keys = {}
  87. for key, value in pairs(t) do
  88. keys[#keys+1] = key
  89. end
  90. index = keys[math.random(1, #keys)]
  91. return t[index]
  92. end
  93. for i=1,a do
  94. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  95. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  96. end
  97. a = a - 1
  98. end
  99. function co(b)
  100. local done = b
  101. print("Mining coin: " .. b.Name)
  102. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  103. warn(b.Name .. "- Health: " .. b.Health.Value)
  104. wait(0.2)
  105. coins:FireServer("Mine", b.Name, amount, random(petids))
  106. end
  107. end
  108. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  109. if(done ~= b) then
  110. coroutine.wrap(function()co(b)end)()
  111. end
  112. end
  113. wait(0.0004)
  114. local amount = 200 -- Lower It Out For Small Pets . Higher For High Pets .
  115. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  116. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  117. local plr = game:GetService("Players").LocalPlayer
  118. local petids = {}
  119. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  120. local a = #save[plr.Name]["Save"]["Pets"]
  121. local done = "lol meme"
  122. function random(t)
  123. local keys = {}
  124. for key, value in pairs(t) do
  125. keys[#keys+1] = key
  126. end
  127. index = keys[math.random(1, #keys)]
  128. return t[index]
  129. end
  130. for i=1,a do
  131. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  132. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  133. end
  134. a = a - 1
  135. end
  136. function co(b)
  137. local done = b
  138. print("Mining coin: " .. b.Name)
  139. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  140. warn(b.Name .. "- Health: " .. b.Health.Value)
  141. wait(0.2)
  142. coins:FireServer("Mine", b.Name, amount, random(petids))
  143. end
  144. end
  145. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  146. if(done ~= b) then
  147. coroutine.wrap(function()co(b)end)()
  148. end
  149. end
  150. wait(0.0004)
  151. local amount = 400 -- Lower It Out For Small Pets . Higher For High Pets .
  152. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  153. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  154. local plr = game:GetService("Players").LocalPlayer
  155. local petids = {}
  156. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  157. local a = #save[plr.Name]["Save"]["Pets"]
  158. local done = "lol meme"
  159. function random(t)
  160. local keys = {}
  161. for key, value in pairs(t) do
  162. keys[#keys+1] = key
  163. end
  164. index = keys[math.random(1, #keys)]
  165. return t[index]
  166. end
  167. for i=1,a do
  168. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  169. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  170. end
  171. a = a - 1
  172. end
  173. function co(b)
  174. local done = b
  175. print("Mining coin: " .. b.Name)
  176. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  177. warn(b.Name .. "- Health: " .. b.Health.Value)
  178. wait(0.2)
  179. coins:FireServer("Mine", b.Name, amount, random(petids))
  180. end
  181. end
  182. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  183. if(done ~= b) then
  184. coroutine.wrap(function()co(b)end)()
  185. end
  186. end
  187. wait(0.0004)
  188. local amount = 600 -- Lower It Out For Small Pets . Higher For High Pets .
  189. local coins = game:GetService("Workspace")["__REMOTES"].Game.Coins
  190. local save = game:GetService("Workspace")["__REMOTES"].Core["Get Other Stats"]:InvokeServer()
  191. local plr = game:GetService("Players").LocalPlayer
  192. local petids = {}
  193. local pets = game:GetService("Workspace")["__REMOTES"].Game.Pets
  194. local a = #save[plr.Name]["Save"]["Pets"]
  195. local done = "lol meme"
  196. function random(t)
  197. local keys = {}
  198. for key, value in pairs(t) do
  199. keys[#keys+1] = key
  200. end
  201. index = keys[math.random(1, #keys)]
  202. return t[index]
  203. end
  204. for i=1,a do
  205. if(save[plr.Name]["Save"]["Pets"][a].e == true) then
  206. table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
  207. end
  208. a = a - 1
  209. end
  210. function co(b)
  211. local done = b
  212. print("Mining coin: " .. b.Name)
  213. while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
  214. warn(b.Name .. "- Health: " .. b.Health.Value)
  215. wait(0.2)
  216. coins:FireServer("Mine", b.Name, amount, random(petids))
  217. end
  218. end
  219. for _,b in next, Workspace.__THINGS.Coins:GetChildren() do
  220. if(done ~= b) then
  221. coroutine.wrap(function()co(b)end)()
  222. end
  223. end
  224. end
  225. [color=#000000]
Add Comment
Please, Sign In to add comment