Advertisement
thegameplayer

Untitled

Feb 14th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.19 KB | None | 0 0
  1. local library = loadstring(game:HttpGet('https://pastebin.com/raw/T3tvmaz4'))()
  2. local MainWindow = library:CreateWindow("Farming")
  3. local EggsWindow = library:CreateWindow("Eggs")
  4.  
  5. local GameLibrary = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  6. local Network = GameLibrary.Network
  7. local Run_Service = game:GetService("RunService")
  8. local rs = Run_Service.RenderStepped
  9. local CurrencyOrder = {"Rainbow Coins", "Tech Coins", "Fantasy Coins", "Coins", "Diamonds"}
  10.  
  11.  
  12. local IMightKillMyselfCauseOfThis = {
  13. --Misc
  14. ['VIP'] = {'VIP'};
  15. --Spawn
  16. ['Town'] = {'Town', 'Town FRONT'}; ['Forest'] = {'Forest', 'Forest FRONT'}; ['Beach'] = {'Beach', 'Beach FRONT'}; ['Mine'] = {'Mine', 'Mine FRONT'}; ['Winter'] = {'Winter', 'Winter FRONT'}; ['Glacier'] = {'Glacier', 'Glacier Lake'}; ['Desert'] = {'Desert', 'Desert FRONT'}; ['Volcano'] = {'Volcano', 'Volcano FRONT'};
  17. -- Fantasy init
  18. ['Enchanted Forest'] = {'Enchanted Forest', 'Enchanted Forest FRONT'}; ['Ancient'] = {'Ancient'}; ['Samurai'] = {'Samurai', 'Samurai FRONT'}; ['Candy'] = {'Candy'}; ['Haunted'] = {'Haunted', 'Haunted FRONT'}; ['Hell'] = {'Hell'}; ['Heaven'] = {'Heaven'};
  19. -- Tech
  20. ['Ice Tech'] = {'Ice Tech'}; ['Tech City'] = {'Tech City'; 'Tech City FRONT'}; ['Dark Tech'] = {'Dark Tech'; 'Dark Tech FRONT'}; ['Steampunk'] = {'Steampunk'; 'Steampunk FRONT'}, ['Alien Forest'] = {"Alien Forest"; "Alien Forest FRONT"}, ['Alien Lab'] = {"Alien Forest"; "Alien Lab FRONT"}, ['Glitch'] = {"Glitch"; "Glitch FRONT"}; ['Hacker Portal'] = {"Hacker Portal", "Hacker Portal FRONT"};
  21. -- Axolotl
  22. ['Axolotl Ocean'] = {'Axolotl Ocean', 'Axolotl Ocean FRONT'}; ['Axolotl Deep Ocean'] = {'Axolotl Deep Ocean', 'Axolotl Deep Ocean FRONT'}; ['Axolotl Cave'] = {'Axolotl Cave', 'Axolotl Cave FRONT'};
  23. }
  24.  
  25. local AreaList = { --These match the IMightKillMyselfCuaseOfThis table
  26. 'VIP';
  27. 'Town'; 'Forest'; 'Beach'; 'Mine'; 'Winter'; 'Glacier'; 'Desert'; 'Volcano';
  28. 'Enchanted Forest'; 'Ancient'; 'Samurai'; 'Candy'; 'Haunted'; 'Hell'; 'Heaven';
  29. 'Ice Tech'; 'Tech City'; 'Dark Tech'; 'Steampunk'; 'Alien Lab'; 'Alien Forest'; 'Glitch'; "Hacker Portal";
  30. 'Axolotl Ocean'; 'Axolotl Deep Ocean'; 'Axolotl Cave'
  31. }
  32.  
  33. local Chests = {
  34. -- Spawn
  35. "Magma Chest",
  36. -- Fantasy
  37. "Enchanted Chest", "Hell Chest", "Haunted Chest", "Angel Chest", "Grand Heaven Chest",
  38. -- Tech
  39. "Giant Tech Chest"; "Giant Steampunk Chest"; "Giant Alien Chest"; "Giant Hacker Chest";
  40. -- exolot
  41. "Giant Ocean Chest";
  42. }
  43.  
  44.  
  45. workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "buy egg")
  46. workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "join coin")
  47. workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "farm coin")
  48. workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "claim orbs")
  49. workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "change pet target")
  50.  
  51. --Farms a coin. It seems to work. That's fun
  52. function FarmCoin(CoinID, PetID)
  53. game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  54. game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  55. end
  56.  
  57. function GetMyPets()
  58. local returntable = {}
  59. for i,v in pairs(GameLibrary.Save.Get().Pets) do
  60. if v.e then
  61. table.insert(returntable, v.uid)
  62. end
  63. end
  64. return returntable
  65. end
  66.  
  67. --returns all coins within the given area (area must be a table of conent)
  68. function GetCoins(area)
  69. local returntable = {}
  70. local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  71. for i,v in pairs(ListCoins) do
  72. if MainWindow.flags.FarmingArea == 'All' or table.find(IMightKillMyselfCauseOfThis[MainWindow.flags.FarmingArea], v.a) then
  73. local shit = v
  74. shit["index"] = i
  75. table.insert(returntable, shit)
  76. end
  77. end
  78. return returntable
  79. end
  80.  
  81. --Sexy man ( wYn#0001 ) made this for me. It works, not sure how, it does.
  82. function GetCoinTable(area)
  83. local CoinTable = GetCoins(area)
  84. function getKeysSortedByValue(tbl, sortFunction)
  85. local keys = {}
  86. for key in pairs(tbl) do
  87. table.insert(keys, key)
  88. end
  89. table.sort(
  90. keys,
  91. function(a, b)
  92. return sortFunction(tbl[a].h, tbl[b].h)
  93. end
  94. )
  95. return keys
  96. end
  97. local sortedKeys = getKeysSortedByValue(CoinTable, function(a, b) return a > b end)
  98. local newCoinTable = {}
  99.  
  100. for i,v in pairs(sortedKeys) do
  101. table.insert(newCoinTable, CoinTable[v])
  102. end
  103.  
  104. return newCoinTable
  105. end
  106.  
  107. --Not sure exactly why I did this
  108. local AreaWorldTable = {}
  109. for _, v in pairs(game:GetService("ReplicatedStorage").Game.Coins:GetChildren()) do
  110. for _, b in pairs(v:GetChildren()) do
  111. table.insert(AreaWorldTable, b.Name)
  112. end
  113. table.insert(AreaWorldTable, v.Name)
  114. end
  115.  
  116. --Returns all the currently alive chests in the game the same was getcoins does
  117. function AllChests()
  118. local returntable = {}
  119. local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  120. for i,v in pairs(ListCoins) do
  121. local shit = v
  122. shit.index = i
  123. for aa,bb in pairs(AreaWorldTable) do
  124. if string.find(v.n, bb) or string.find(v.n, "Giant") then
  125. local thing = string.gsub(v.n, bb.." ", "")
  126. if table.find(Chests, thing) then
  127. shit.n = thing
  128. table.insert(returntable, shit)
  129. end
  130. end
  131. end
  132. end
  133. return returntable
  134. end
  135.  
  136. --[[
  137. --the remote works like this. I'm too scared to test anything else out
  138. function CollectOrbs()
  139. local ohTable1 = {[1] = {}}
  140. for i,v in pairs(game.workspace['__THINGS'].Orbs:GetChildren()) do
  141. ohTable1[1][i] = v.Name
  142. end
  143. game.workspace['__THINGS']['__REMOTES']["claim orbs"]:FireServer(ohTable1)
  144. end
  145. ]]
  146.  
  147. if _G.MyConnection then _G.MyConnection:Disconnect() end
  148. _G.MyConnection = game.Workspace.__THINGS.Orbs.ChildAdded:Connect(function(Orb)
  149. game.Workspace.__THINGS.__REMOTES["claim orbs"]:FireServer({{Orb.Name}})
  150. end)
  151.  
  152. MainWindow:Toggle("Enabled", {flag = 'FarmingEnabled'}, function(new)
  153. local CurrentFarmingPets = {}
  154. while task.wait() and MainWindow.flags.FarmingEnabled do
  155. local pethingy = GetMyPets()
  156.  
  157. if MainWindow.flags.FarmingType == 'Normal' then
  158. local cointhiny = GetCoins(MainWindow.flags.FarmingArea)
  159. for i = 1, #cointhiny do
  160. if MainWindow.flags.FarmingEnabled and game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[i].index) then
  161. for _, bb in pairs(pethingy) do
  162. if MainWindow.flags.FarmingEnabled and game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[i].index) then
  163. wait(0.1)
  164. spawn(function()
  165. FarmCoin(cointhiny[i].index, bb)
  166. end)
  167. end
  168. end
  169. repeat task.wait() until not game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[i].index)
  170. end
  171. end
  172.  
  173. elseif MainWindow.flags.FarmingType == 'Chest' then
  174. for i,v in pairs(AllChests()) do
  175. if (v.n == MainWindow.flags.FarmingSingleChest) or (MainWindow.flags.FarmingSingleChest == 'All') then
  176. local starttick = tick()
  177. for a, b in pairs(pethingy) do
  178. coroutine.wrap(function() FarmCoin(v.index, b) end)()
  179. end
  180. repeat task.wait() until not game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) or #game:GetService("Workspace")["__THINGS"].Coins[v.index].Pets:GetChildren() == 0
  181. warn(v.n .. " has been broken in", tick()-starttick)
  182. end
  183. end
  184.  
  185. elseif MainWindow.flags.FarmingType == 'Multi Target' then
  186. local cointhiny = GetCoins(MainWindow.flags.FarmingArea)
  187. for i = 1, #cointhiny do
  188. if i%#pethingy == #pethingy-1 then wait() end
  189. if not CurrentFarmingPets[pethingy[i%#pethingy+1]] or CurrentFarmingPets[pethingy[i%#pethingy+1]] == nil then
  190. wait(0.1)
  191. spawn(function()
  192. CurrentFarmingPets[pethingy[i%#pethingy+1]] = 'Farming'
  193. FarmCoin(cointhiny[i].index, pethingy[i%#pethingy+1])
  194. repeat rs:wait() until not game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[i].index) or #game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[i].index).Pets:GetChildren() == 0
  195. CurrentFarmingPets[pethingy[i%#pethingy+1]] = nil
  196. end)
  197. end
  198. end
  199.  
  200. elseif MainWindow.flags.FarmingType == 'Highest Value' then
  201. local cointhiny = GetCoinTable(MainWindow.flags.FarmingArea)
  202. for a,b in pairs(pethingy) do
  203. spawn(function() wait() FarmCoin(cointhiny[1].index, b) end)
  204. end
  205. repeat rs:wait() until not game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(cointhiny[1].index) or #game:GetService("Workspace")["__THINGS"].Coins[cointhiny[1].index].Pets:GetChildren() == 0
  206.  
  207. elseif MainWindow.flags.FarmingType == 'Nearest' then
  208. local NearestOne = nil
  209. local NearestDistance = math.huge
  210. for i,v in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetChildren()) do
  211. if (v.POS.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < NearestDistance then
  212. NearestOne = v
  213. NearestDistance = (v.POS.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  214. end
  215. end
  216. for a,b in pairs(pethingy) do
  217. spawn(function() FarmCoin(NearestOne.Name, b) end)
  218. end
  219. end
  220. end
  221. end)
  222. MainWindow:Dropdown("Type", {flag = 'FarmingType', list = {'Normal', 'Chest', 'Multi Target', 'Highest Value', 'Nearest'}})
  223. MainWindow:Dropdown("If chest", {flag = 'FarmingSingleChest', list = Chests})
  224. MainWindow:Dropdown("Area", {flag = 'FarmingArea', list = AreaList})
  225. MainWindow:Toggle("Collect Loot Bags", {flag = 'Lootbags', default = _G.Lootbags or false}, function()
  226. if MainWindow.flags.Lootbags then
  227. local Running = {}
  228. while wait() and MainWindow.flags.Lootbags do
  229. for i, v in pairs(game:GetService("Workspace")["__THINGS"].Lootbags:GetChildren()) do
  230. spawn(function()
  231. if v ~= nil and v.ClassName == 'MeshPart' then
  232. if not Running[v.Name] then
  233. Running[v.Name] = true
  234. local StartTick = tick()
  235. v.Transparency = 1
  236. for a,b in pairs(v:GetChildren()) do
  237. if not string.find(b.Name, "Body") then
  238. b:Destroy()
  239. end
  240. end
  241. repeat task.wait()
  242. v.CFrame = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame
  243. until v == nil or not v.Parent or tick() > StartTick + 3
  244. Running[v.Name] = nil
  245. end
  246. end
  247. end)
  248. end
  249. end
  250. end
  251. end)
  252. MainWindow:Button("Stat Tracker", function()
  253. loadstring(game:HttpGet('https://pastebin.com/raw/dPXXyp4A'))()
  254. wait(60)
  255. warn("60s has PASSED!")
  256. end)
  257.  
  258. MainWindow:Button("POSSIBLE Lag reduction", function()
  259. game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.GUIs["Coin Rewards HUD"].Disabled = true
  260. if game:GetService("Workspace"):FindFirstChild("__DEBRIS") then
  261. game:GetService("Workspace")["__DEBRIS"]:Destroy()
  262. end
  263. end)
  264.  
  265.  
  266. local MyEggData = {}
  267. local littleuselesstable = {}
  268. local GameLibrary = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  269. for i,v in pairs(GameLibrary.Directory.Eggs) do
  270. local temptable = {}
  271. temptable['Name'] = i
  272. temptable['Currency'] = v.currency
  273. temptable['Price'] = v.cost
  274. table.insert(MyEggData, temptable)
  275. end
  276.  
  277. table.sort(MyEggData, function(a, b)
  278. return a.Price < b.Price
  279. end)
  280.  
  281. local EggData = {}
  282. for i,v in pairs(CurrencyOrder) do
  283. table.insert(EggData, " ")
  284. table.insert(EggData, "-- "..v.." --")
  285. for a,b in pairs(MyEggData) do
  286. if b.Currency == v then
  287. table.insert(EggData, b.Name)
  288. end
  289. end
  290. end
  291.  
  292. EggsWindow:Toggle("Open Eggs", {flag = 'OpenEggs'}, function(new)
  293. while wait() and EggsWindow.flags.OpenEggs do
  294. local ohTable1 = {
  295. [1] = EggsWindow.flags.SelectedEgg,
  296. [2] = EggsWindow.flags.TripleEggs
  297. }
  298. workspace.__THINGS.__REMOTES["buy egg"]:InvokeServer(ohTable1)
  299. end
  300. end)
  301. EggsWindow:Dropdown('Egg', {flag = 'SelectedEgg', list = EggData})
  302. EggsWindow:Toggle("Triple Eggs", {flag = 'TripleEggs'})
  303. EggsWindow:Section(" ")
  304. EggsWindow:Button("Remove Egg animation", function()
  305. for i,v in pairs(getgc(true)) do
  306. if (typeof(v) == 'table' and rawget(v, 'OpenEgg')) then
  307. v.OpenEgg = function()
  308. return
  309. end
  310. end
  311. end
  312. end)
  313. EggsWindow:Button("Teleport Gamepass", function()
  314. local main = debug.getupvalues(require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library")).Save.Get)[2][game.Players.LocalPlayer].save.Gamepasses
  315. table.insert(main,18674296)
  316. table.insert(main,18674298)
  317. table.insert(main,18674321)
  318. end)
  319.  
  320. EggsWindow:Section("amGerard || Gerard#0001")
  321.  
  322. --Anti AFK stolen from infinite yield // the readily available old one :)
  323. local GC = getconnections or get_signal_cons
  324. if GC then
  325. for i,v in pairs(GC(game.Players.LocalPlayer.Idled)) do
  326. if v["Disable"] then
  327. v["Disable"](v)
  328. elseif v["Disconnect"] then
  329. v["Disconnect"](v)
  330. end
  331. end
  332. else
  333. print("lol bad exploit")
  334. local vu = game:GetService("VirtualUser")
  335. game:GetService("Players").LocalPlayer.Idled:connect(function()
  336. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  337. wait(1)
  338. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  339. end)
  340. end
  341.  
  342. warn("Everything has loaded fully. Enjoy :)")
  343.  
  344. setclipboard("https://www.youtube.com/channel/UCsJqE_YGzfKIqflo2n3LS3g")
  345. game:GetService("StarterGui"):SetCore("SendNotification",{
  346. Title = "Not Made by me",
  347. Text = "Credits to owner and subscribe to me";
  348. Button1 = "Ok!",
  349. Duration = 30
  350. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement