From venuslockscript, 6 Months ago, written in Lua.
Embed
  1. getgenv().UwU = loadstring(game:HttpGet"https://raw.githubusercontent.com/L1ZOT/Project-PJM/main/Notifycation")()
  2.  
  3.     local SettingsTable = {
  4.       FarmNearest = nil;
  5.       FarmRandom = nil;
  6.       MultiTarget = false;
  7.       GemFarm = nil;
  8.       AreaFarm = nil;
  9.       FarmSelectedCoin = nil;
  10.       -----------------------------------------
  11.       FastColect = true;
  12.       LootBag = nil;
  13.       RankRew = nil;
  14.       FreeGift = nil;
  15.       RemEggAnimation = nil;
  16.    }
  17.  
  18.   game:GetService("Players").LocalPlayer.Idled:connect(
  19.   function()
  20.       game:GetService("VirtualUser"):Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  21.       wait(1)
  22.       game:GetService("VirtualUser"):Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  23.   end)
  24.      
  25.   -- \ Anti AFK
  26.  
  27.   local Project_MeowFolder = "Project Meow/"
  28.   local ConfigsStorage = Project_MeowFolder.."ConfigsStorage/"
  29.   local ConfigName = ConfigsStorage.."PetSimulatorX.cfg"
  30.   local HttpService = game:GetService("HttpService")
  31. --   local SettingsTable = {
  32. --       Autofarm = false,
  33. --       AutoCollect = false,
  34. --       AutoSave = false
  35. --   }
  36.   function savesettings()
  37.       local JSON;
  38.       if (writefile) then
  39.       JSON = HttpService:JSONEncode(SettingsTable)
  40.       writefile(ConfigName, JSON)
  41.       getgenv().UwU:Notify("System", "Sucessfully Saved Settings!")
  42.       else
  43.         getgenv().UwU:Notify("System", "Exploit Not Supported")
  44.           print("Exploit Not Supported")
  45.       end
  46.   end
  47.  
  48.       --  loadsettings()
  49.     --  savesettings()
  50.  
  51.   function removefolder()
  52.     if isfolder("Project_Meow") then
  53.         delfolder("Project_Meow")
  54.     end
  55.   end
  56.  
  57.   removefolder()
  58.  
  59.   function loadsettings()
  60.       local JSON;
  61.       if (readfile) then
  62.           SettingsTable = HttpService:JSONDecode(readfile(ConfigName, SettingsTable))
  63.           getgenv().UwU:Notify("System", "Sucessfully Loaded Settings!")
  64.       else
  65.         getgenv().UwU:Notify("System", "Exploit Not Supported")
  66.           print("Exploit Not Supported")
  67.       end
  68.   end
  69.  
  70.  
  71.    local UIlib = loadstring(game:HttpGet("https://gitlab.com/L1ZOT/test-project/-/raw/main/pjm-testing-gui"))()
  72.    local FarmingSpeed = 1
  73.  
  74.    spawn(function()
  75.    if game:GetService("CoreGui"):FindFirstChild("ProjectMeowsPrompt") then
  76.       getgenv().PromptGuioof:AddText("Loading UI", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  77.       wait(1)
  78.       getgenv().PromptGuioof:AddText("Done!", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  79.    else
  80.       local PogChamp = loadstring(game:HttpGet("https://gitlab.com/L1ZOT/test-project/-/raw/main/PJM-Prompt"))()
  81.       getgenv().PromptGuioof = PogChamp:Create()
  82.       getgenv().PromptGuioof:Open()
  83.       getgenv().PromptGuioof:AddText("Loading UI", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  84.       wait(1)
  85.       getgenv().PromptGuioof:AddText("Done!", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  86.    end
  87.   end)
  88.  
  89.  
  90.     local Win = UIlib:Window("Project Meow", "Pet Simulator X")
  91.     local Autofarm = Win:Tab("AutoFarm")
  92.     local OldFarm = Win:Tab("Only Farm")
  93.     local Misc = Win:Tab("Misc")
  94.     local Eggs = Win:Tab("Eggs")
  95.     local pets2 = Win:Tab("Pets")
  96.     local Visuals = Win:Tab("Visuals")
  97.     local WebHook = Win:Tab("WebHook")
  98.     local Credits = Win:Tab("Credits")
  99.  
  100.  
  101.  
  102.  
  103.      local check = checklists
  104.      local lib = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  105.      local Library = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  106.      local GameLibrary = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  107.  
  108.  
  109.      spawn(function()
  110.       pcall(function()
  111.           getgenv().UwU:Notify("Welcome!", "Script Is setting up!")
  112.       end)
  113.       end)
  114.  
  115.   local FP = Misc:Label("")
  116.   spawn(function()
  117.       while game:GetService("RunService").RenderStepped:wait() do
  118.           FP:Refresh("FPS : "..tostring(game:GetService("Stats").Workspace.FPS:GetValueString()))
  119.       end
  120.   end)
  121.   local Time = Misc:Label("")
  122.   spawn(function()
  123.       while task.wait() do
  124.           local Data = os.date("*t")
  125.           Time:Refresh("IRL Time : "..Data.hour..":"..Data.min..":"..Data.sec)
  126.       end
  127.   end)
  128.  
  129.      Misc:Slider("Walk Speed", 0, 250, 28, function(v)
  130.      
  131.      game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  132.      
  133.      end)
  134.      
  135.      Misc:Slider("Jump Power", 0, 250, 50, function(v)
  136.      
  137.          game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  138.          
  139.          end)
  140.  
  141.          Misc:Slider("Gravity", 0, 250, 196.2, function(v)
  142.           game.workspace.Gravity = v
  143.          end)
  144.  
  145.          Misc:Toggle("Auto Equip Best Pets", false, function(t)
  146.           getgenv().BestPet = t
  147.           while wait() do
  148.               if getgenv().BestPet == true then
  149.           pcall(function()
  150.   local args = {
  151.       [1] = {}
  152.   }
  153.   workspace.__THINGS.__REMOTES:FindFirstChild("equip best pets"):InvokeServer(unpack(args))
  154.           end)
  155.       end
  156.   end
  157.          end)
  158.  
  159.          Misc:Button("Get Gamepasses", function()
  160.             local pass = require(game:GetService("ReplicatedStorage").Framework.Client["5 | Gamepasses"])
  161.  
  162.             pass.Owns = function() return true end
  163.          end)
  164.  
  165.          Misc:Toggle("Auto Leave if Mod Joins", false, function(t)
  166.             StartModLeave = t
  167.          end)
  168.  
  169.          spawn(function()
  170.             game.Players.PlayerAdded:Connect(function(newPlayer)
  171.                 if newPlayer:IsInGroup(5060810) and StartModLeave then                    
  172.                    game.Players.LocalPlayer:Kick("\n Big Games Staff Joined \n Auto Leave!")
  173.                 end
  174.              end)
  175.          end)
  176.  
  177.          Misc:Toggle("Stats Tracker", false, function(t)
  178.             State = t
  179.             if State then
  180.                 local lib = require(game:GetService("ReplicatedStorage").Framework.Library)
  181. local Save = lib.Save.Get
  182. local Commas = lib.Functions.Commas
  183. local Types = {}
  184. local Menus = game:GetService("Players").LocalPlayer.PlayerGui.Main.Right
  185.  
  186. for i,v in pairs(Menus:GetChildren()) do
  187.     if v.ClassName == "Frame" and v.Name ~= "Rank" and not string.find(v.Name, "2") then
  188.         table.insert(Types, v.Name)
  189.     end
  190. end
  191.  
  192. function get(thistype)
  193.     if game.PlaceId == 10321372166 and string.find(string.lower(thistype), "coins") then
  194.         return Save().HardcoreCurrency[thistype]
  195.     else
  196.         return Save()[thistype]
  197.     end
  198. end
  199.  
  200. local LayoutOrders = {
  201.     ["Diamonds"] = 999910;
  202.     ["Halloween Candy"] = 999920;
  203.     ["Gingerbread"] = 999930;
  204.     ["Rainbow Coins"] = 999940;
  205.     ["Tech Coins"] = 999950;
  206.     ["Fantasy Coins"] = 999960;
  207.     ["Coins"] = 999970;
  208. }
  209. getgenv().MyTypes = {}
  210. for i,v in pairs(Menus:GetChildren()) do
  211.     if string.find(v.Name, "2") then
  212.         v:Destroy()
  213.     end
  214. end
  215.  
  216. for i,v in pairs(Types) do
  217.     if not Menus:FindFirstChild(v.."2") then
  218.         Menus:WaitForChild(v).LayoutOrder = LayoutOrders[v]
  219.         local tempmark = Menus:WaitForChild(v):Clone()
  220.         tempmark.Name = tostring(tempmark.Name .. "2")
  221.         tempmark.Size = UDim2.new(0, 170, 0, 30)
  222.         tempmark.Parent = Menus
  223.         tempmark.LayoutOrder = tempmark.LayoutOrder + 1
  224.         tempmark.BackgroundColor3 = Color3.fromRGB(210,210,210)
  225.         getgenv().MyTypes[v] = tempmark
  226.     end
  227. end
  228.  
  229. spawn(function() Menus:WaitForChild("Diamonds2").Add.Visible = false end)
  230. for i,v in pairs(Types) do
  231.     spawn(function()
  232.         repeat task.wait() until getgenv().MyTypes[v]
  233.         local megatable = {}
  234.         local imaginaryi = 1
  235.         local ptime = 0
  236.         local last = tick()
  237.         local now = last
  238.         local TICK_TIME = 0.5
  239.         while true do
  240.             if ptime >= TICK_TIME then
  241.                 while ptime >= TICK_TIME do ptime = ptime - TICK_TIME end
  242.                 local currentbal = get(v)
  243.                 megatable[imaginaryi] = currentbal
  244.                 local diffy = currentbal - (megatable[imaginaryi-120] or megatable[1])
  245.                 imaginaryi = imaginaryi + 1
  246.                 getgenv().MyTypes[v].Amount.Text = tostring(Commas(diffy).." in 60s")
  247.                 getgenv().MyTypes[v].Amount_odometerGUIFX.Text = tostring(Commas(diffy).." in 60s")
  248.             end
  249.             task.wait()
  250.             now = tick()
  251.             ptime = ptime + (now - last)
  252.             last = now
  253.         end
  254.     end)
  255. end
  256.             else
  257.                 local Menus = game:GetService("Players").LocalPlayer.PlayerGui.Main.Right
  258.                 for i,v in pairs(Menus:GetChildren()) do
  259.                     if string.find(v.Name, "2") then
  260.                         v:Destroy()
  261.                     end
  262.                 end
  263.             end
  264.          end)
  265.  
  266.         --  Misc:Button("Unlock Hoverboards", function()
  267.         --   spawn(function()
  268.         --       local tabel = require(game.ReplicatedStorage.Framework.Modules.Client["4 | Save"]).Get()
  269.         --       tabel.Hoverboards = {}
  270.         --       for i,v in pairs(game.ReplicatedStorage.Game.Hoverboards:GetChildren())do
  271.         --           table.insert(tabel.Hoverboards, v.Name)
  272.         --       end
  273.         --       getsenv(game.Players.LocalPlayer.PlayerScripts.Scripts.GUIs.Hoverboards).Update()
  274.         --       getsenv(game.Players.LocalPlayer.PlayerScripts.Scripts.GUIs.Hoverboards).Equip = function(board)
  275.         --           tabel.EquippedHoverboard = board
  276.         --           getsenv(game.Players.LocalPlayer.PlayerScripts.Scripts.GUIs.Hoverboards).Update()
  277.         --       end
  278.         --   end)
  279.         --   getgenv().PromptGuioof:AddText("Got Some Hoverboards", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  280.         --   end)
  281.  
  282.           Misc:line()
  283.           Misc:Button("Teleport to Trading Plaza", function()
  284.               if game.PlaceId ~= 7722306047 then
  285.                   game:GetService("TeleportService"):Teleport(7722306047, game.Players.LocalPlayer)
  286.               else
  287.                 spawn(function()
  288.                     pcall(function()
  289.                         getgenv().UwU:Notify("Notice!", "You are already in trading plaza!")
  290.                     end)
  291.                   end)
  292.               end
  293.           end)
  294.          
  295.           Misc:Button("Teleport to Pet Sim World", function()
  296.             if game.PlaceId ~= 6284583030 then
  297.                 game:GetService("TeleportService"):Teleport(6284583030, game.Players.LocalPlayer)
  298.             else
  299.               getgenv().UwU:Notify("Notice!", "You are already in Pet Sim World!")
  300.             end
  301.         end)
  302.  
  303.         Misc:Button("Teleport to Pet Sim Hardcore", function()
  304.             if game.PlaceId ~= 10321372166 then
  305.                 game:GetService("TeleportService"):Teleport(10321372166, game.Players.LocalPlayer)
  306.             else
  307.               getgenv().UwU:Notify("Notice!", "You are already in Pet Sim World!")
  308.             end
  309.         end)
  310.  
  311.   Misc:line()
  312.  
  313.   local GTime = Misc:Label("Gift Time: ")
  314.   spawn(function()
  315.       while task.wait() do
  316.           GTime:Refresh("Gift Time: ".. game:GetService("Players").LocalPlayer.PlayerGui.FreeGiftsTop.Button.Timer.Text)
  317.       end
  318.   end)
  319.  
  320.   Misc:Toggle("Auto Collect Gifts", SettingsTable.FreeGift, function(t)
  321.       SettingsTable.FreeGift = t
  322.           while SettingsTable.FreeGift do task.wait()
  323.               pcall(function()
  324.                   --function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  325.                 local ohTable1 = {
  326.                    [1] = math.random(1, 12)
  327.                 }
  328.                 workspace.__THINGS.__REMOTES["redeem free gift"]:InvokeServer(ohTable1)
  329.               end)
  330.           end
  331.   end)
  332.  
  333.   Misc:Toggle("Auto Collect Bank Interest", false, function(t)
  334.       BanInterest = t
  335.       if BanInterest then
  336.           getgenv().PromptGuioof:AddText("Auto Collect Bank Interest = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  337.       else
  338.           getgenv().PromptGuioof:AddText("Auto Collect Bank Interest = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  339.       end
  340.   end)
  341.  
  342.   spawn(function()
  343.       while task.wait() do
  344.           if BanInterest then
  345.               pcall(function()
  346.                   function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  347.                   local mybanks = lib.Network.Invoke("get my banks")
  348.                              
  349.                   local request, request2 = lib.Network.Invoke("collect bank interest", mybanks[1]["BUID"]);
  350.                              
  351.                   if request then
  352.  
  353.           else
  354.           return;
  355.           end
  356.               end)
  357.           end
  358.       end
  359.   end)
  360.  
  361.  
  362.   -- local lib = require(game.ReplicatedStorage:WaitForChild('Framework'):WaitForChild('Library'))
  363.   -- local request, request2 = lib.Network.Invoke("join coin", "995", {[1] = "id8ed6b2d49dc84268a08c4b7d1eea2c2f"});
  364.   --     lib.Network.Fire("farm coin", "995", "id8ed6b2d49dc84268a08c4b7d1eea2c2f");
  365.   -- if request then
  366.  
  367.   -- else
  368.   -- return;
  369.   -- end
  370.  
  371.  
  372.  
  373.   Misc:Button("Destroy Pet Notifications", function()
  374.       game:GetService("Players").LocalPlayer.PlayerGui.Main.Bottom.Inventory.Notification:Destroy()
  375.       getgenv().PromptGuioof:AddText("Destroy Pet Notifications", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  376.   end)
  377.  
  378.  
  379.  
  380. --   Misc:Toggle("Auto Buy Merchant Item 1", false, function(t)
  381. --       getgenv().PromptGuioof:AddText("Auto Buy Merchant Item 1", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  382. --       Item1 = t
  383. --           while Item1 do task.wait(.6)
  384. --               function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  385. --               pcall(function()
  386. --                   local ohTable1 = {
  387. --                       [1] = 1
  388. --                   }
  389.                  
  390. --                   workspace.__THINGS.__REMOTES["buy merchant item"]:InvokeServer(ohTable1)
  391. --                   local ohTable1 = {}
  392.  
  393. --                   workspace.__THINGS.__REMOTES["get merchant items"]:InvokeServer(ohTable1)
  394. --               end)
  395. --           end
  396. --       end)
  397.  
  398. --   Misc:Toggle("Auto Buy Merchant Item 2", false, function(t)
  399. --       getgenv().PromptGuioof:AddText("Auto Buy Merchant Item 2", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  400. --       Item2 = t
  401. --           while Item2 do task.wait(.6)
  402. --               function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  403. --               pcall(function()
  404. --                   local ohTable1 = {
  405. --                       [1] = 2
  406. --                   }
  407.                  
  408. --                   workspace.__THINGS.__REMOTES["buy merchant item"]:InvokeServer(ohTable1)
  409. --                   local ohTable1 = {}
  410.  
  411. --                   workspace.__THINGS.__REMOTES["get merchant items"]:InvokeServer(ohTable1)
  412. --               end)
  413. --           end
  414. --       end)
  415.  
  416. --     Misc:Toggle("Auto Buy Merchant Item 3", false, function(t)
  417. --       getgenv().PromptGuioof:AddText("Auto Buy Merchant Item 3", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  418. --         Item3 = t
  419. --             while Item3 do task.wait(.6)
  420. --               function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  421. --                 pcall(function()
  422. --                     local ohTable1 = {
  423. --                         [1] = 3
  424. --                     }
  425.                    
  426. --                     workspace.__THINGS.__REMOTES["buy merchant item"]:InvokeServer(ohTable1)
  427. --                     local ohTable1 = {}
  428.  
  429. --                   workspace.__THINGS.__REMOTES["get merchant items"]:InvokeServer(ohTable1)
  430. --                 end)
  431. --             end
  432. --         end)
  433.  
  434.  
  435.          Misc:line()
  436.  
  437.          Misc:Button("Bank", function()
  438.           game:GetService("Players").LocalPlayer.PlayerGui.Bank.Enabled = true
  439.       end)
  440.       Misc:Button("Golden", function()
  441.           game:GetService("Players").LocalPlayer.PlayerGui.Golden.Enabled = true
  442.       end)
  443.       Misc:Button("Rainbow", function()
  444.           game:GetService("Players").LocalPlayer.PlayerGui.Rainbow.Enabled = true
  445.       end)
  446.       Misc:Button("Fuse Pets", function()
  447.           game:GetService("Players").LocalPlayer.PlayerGui.FusePets.Enabled = true
  448.       end)
  449.       Misc:Button("DarkMatter", function()
  450.           game:GetService("Players").LocalPlayer.PlayerGui.DarkMatter.Enabled = true
  451.       end)
  452.       Misc:Button("Merchant", function()
  453.           game:GetService("Players").LocalPlayer.PlayerGui.Merchant.Enabled = true
  454.       end)
  455.       Misc:Button("Teleport", function()
  456.           game:GetService("Players").LocalPlayer.PlayerGui.Teleport.Enabled = true
  457.       end)
  458.  
  459.       Misc:line()
  460.  
  461.       local Players_Table = {}
  462.       for i,v in pairs(game.Players:GetPlayers()) do
  463.         if v ~= game.Players.LocalPlayer then
  464.             table.insert(Players_Table, v.Name)
  465.         end
  466.       end
  467.  
  468.  
  469.       Misc:Dropdown("Select Player", Players_Table, function(t)
  470.         SelectedPlayer = t
  471.       end)
  472.  
  473.       local NormalCoins
  474.       local FantasyCoins
  475.       local TechCoins
  476.       local PixelCoins
  477.       local PlayerName
  478.       local RankSpoofLab
  479.       local Token_Spoof
  480.  
  481.       local Spoof_Data
  482.  
  483.     --  local lib = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  484.  
  485.  
  486.       Misc:Button("Spoof Player", function()
  487.         local mybanks = lib.Network.Invoke("get stats", game:GetService("Players")[SelectedPlayer], false)
  488.  
  489.         for i,v in pairs(mybanks) do
  490.           if i == "Coins" then
  491.               Spoof_Data = v
  492.           end
  493.           if i == "Fantasy Coins" then
  494.             fantasyCoinsSpoof = v
  495.           end
  496.           if i == "Tech Coins" then
  497.             TechCoinSpoof = v
  498.           end
  499.           if i == "Rainbow Coins" then
  500.             RainbowCoinSpoof = v
  501.           end
  502.           if i == "Rank" then
  503.             rankSpoof = v
  504.           end
  505.           if i == "SafeSaveToken" then
  506.             SpoofToken = v
  507.           end
  508.       end
  509.         PlayerName:Refresh("Player Name: "..game:GetService("Players")[SelectedPlayer].Name)
  510.         RankSpoofLab:Refresh("Rank: "..rankSpoof)
  511.         Token_Spoof:Refresh("Safe Token: "..SpoofToken)
  512.         NormalCoins:Refresh("Coins: ".. Spoof_Data)
  513.         FantasyCoins:Refresh("Fantasy Coins: ".. fantasyCoinsSpoof)
  514.         TechCoins:Refresh("Tech Coins: ".. TechCoinSpoof)
  515.         PixelCoins:Refresh("Pixel Coins: ".. RainbowCoinSpoof)
  516.       end)
  517.       PlayerName = Misc:Label("Player Name: ")
  518.       RankSpoofLab = Misc:Label("Rank Spoof: ")
  519.       Token_Spoof = Misc:Label("Safe Token: ")
  520.       NormalCoins = Misc:Label("Coins: ")
  521.       FantasyCoins = Misc:Label("Fantasy Coins: ")
  522.       TechCoins = Misc:Label("Tech Coins: ")
  523.       PixelCoins = Misc:Label("Pixel Coins: ")
  524.  
  525.  
  526.  
  527.  
  528.      function GetMyPets()
  529.       local returntable = {}
  530.       for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  531.           if v.ClassName == 'TextButton' and v.Equipped.Visible then
  532.               table.insert(returntable, v.Name)
  533.           end
  534.       end
  535.       return returntable
  536.    end
  537.  
  538.  
  539.      local CurrentFarmingPets = {}
  540.      local pethingy = GetMyPets()
  541.      local cointhiny = nil
  542.      local cointhiny2 = nil
  543.  
  544.  
  545.      local areaTable = {
  546.       --Misc
  547.       ['VIP'] = {'VIP'};
  548.       --Spawn
  549.       ['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'}; ['Tech'] = {'Tech', 'Tech FRONT'};
  550.       -- Fantasy init
  551.       ['Enchanted Forest'] = {'Enchanted Forest', 'Enchanted Forest FRONT'}; ['Ancient Island'] = {'Ancient Island'}; ['Samurai Island'] = {'Samurai Island', 'Samurai Island FRONT'}; ['Candy Island'] = {'Candy Island'}; ['Haunted Island'] = {'Haunted Island', 'Haunted Island FRONT'}; ['Hell Island'] = {'Hell Island'}; ['Heaven Island'] = {'Heaven Island'};
  552.       -- Tech
  553.       ['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"};
  554.       -- Axolotl
  555.       ['Axolotl Ocean'] = {'Axolotl Ocean', 'Axolotl Ocean FRONT'}; ['Axolotl Deep Ocean'] = {'Axolotl Deep Ocean', 'Axolotl Deep Ocean FRONT'}; ['Axolotl Cave'] = {'Axolotl Cave', 'Axolotl Cave FRONT'};
  556.   }
  557.  
  558.   local AreaList = {
  559.   'Town'; 'Forest'; 'Beach'; 'Mine'; 'Winter'; 'Glacier'; 'Desert'; 'Volcano'; -- Spawn World
  560.   'Enchanted Forest'; 'Ancient Island'; 'Samurai Island'; 'Candy Island'; 'Haunted Island'; 'Hell Island'; 'Heaven Island'; -- Fantasy World
  561.   'Ice Tech'; 'Tech City'; 'Dark Tech'; 'Steampunk'; 'Alien Lab'; 'Alien Forest'; 'Glitch'; "Hacker Portal"; -- Tech World
  562.   'Axolotl Ocean'; 'Axolotl Deep Ocean'; 'Axolotl Cave' -- Axolotl World
  563.   }
  564.  
  565.  
  566.      -------------------------------
  567.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "buy egg")
  568.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "join coin")
  569.      workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "farm coin")
  570.      workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "claim orbs")
  571.      workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "change pet target")
  572.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "get trade")
  573.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "add trade pet")
  574.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "remove trade pet")
  575.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "convert to dark matter")
  576.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "redeem dark matter pet")
  577.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "redeem rank rewards")
  578.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "redeem vip rewards")
  579.      workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "toggle setting")
  580.      workspace.__THINGS.__REMOTES.MAIN:FireServer("a", "activate boost")
  581.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "use golden machine")
  582.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "use rainbow machine")
  583.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "buy upgrade")
  584.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "redeem merch code")
  585.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "redeem free gift")
  586.      workspace.__THINGS.__REMOTES.MAIN:FireServer("b", "fuse pets")
  587.      -------------------------------
  588.  
  589.      function FarmCoin(CoinID, PetID)
  590.       game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  591.       game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  592.    end
  593.      
  594.  
  595.          function GetThePets()
  596.           local returntable = {}
  597.           for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  598.               if v.ClassName == 'TextButton' and v.Equipped.Visible then
  599.                   table.insert(returntable, v.Name)
  600.               end
  601.           end
  602.           return returntable
  603.        end
  604.  
  605.        local Chests = {
  606.            "All"; -- All Chests
  607.           -- Spawn
  608.           "Volcano Magma Chest",
  609.           -- Fantasy
  610.           "Ancient Island Enchanted Chest", "Hell Island Hell Chest", "Haunted Island Haunted Chest", "Heaven Island Angel Chest", "Heavens Gate Grand Heaven Chest",
  611.           -- Tech
  612.           "Giant Tech Chest", "Giant Steampunk Chest", "Giant Alien Chest",
  613.           -- Other
  614.           "Giant Present",
  615.           -- Axolotl
  616.           "Giant Ocean Chest",
  617.           -- Pixel World
  618.           "Giant Pixel Chest"
  619.        }
  620.  
  621.          Autofarm:Toggle("Gem Farm", false, function(t)
  622.           if t then
  623.               getgenv().PromptGuioof:AddText("Gem Farm = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  624.           else
  625.               getgenv().PromptGuioof:AddText("Gem Farm = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  626.           end
  627.           SettingsTable.GemFarm = t
  628.          end)
  629.  
  630.          Autofarm:Toggle("Chest Farm", false, function(t)
  631.           if t then
  632.               getgenv().PromptGuioof:AddText("Chest Farm = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  633.           else
  634.               getgenv().PromptGuioof:AddText("Chest Farm = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  635.           end
  636.           ChestFarm = t
  637.          end)
  638.  
  639.       Autofarm:Checklist("Select Chest", "chests", Chests, function(v)
  640.           SelectChest = v
  641.       end)
  642.  
  643.          Autofarm:line()
  644.  
  645.          Autofarm:Toggle("Farm Selected Coin", false, function(t)
  646.           if t then
  647.               getgenv().PromptGuioof:AddText("Farm Selected Coin = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  648.           else
  649.               getgenv().PromptGuioof:AddText("Farm Selected Coin = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  650.           end
  651.           FarmSelectedCoin = t
  652.          end)
  653.  
  654.          Autofarm:Toggle("Ultra Area Farm (risk of getting Kicked!)", false, function(t)
  655.           if t then
  656.               getgenv().PromptGuioof:AddText("Ultra Area Farm = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  657.           else
  658.               getgenv().PromptGuioof:AddText("Ultra Area Farm = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  659.           end
  660.           UltraAreaFarm = t
  661.          end)
  662.  
  663.          Autofarm:Toggle("Area Farm", SettingsTable.AreaFarm, function(t)
  664.           if t then
  665.               getgenv().PromptGuioof:AddText("Area Farm = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  666.           else
  667.               getgenv().PromptGuioof:AddText("Area Farm = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  668.           end
  669.           SettingsTable.AreaFarm = t
  670.          end)
  671.  
  672.          local Areas = {'All'}
  673.          for i,v in pairs(game:GetService("ReplicatedStorage").Game.Coins:GetDescendants()) do
  674.              if v.ClassName=="Folder" and v.Name ~= "Spawn" and v.Name ~= "Fantasy"and v.Name ~= "Tech"and v.Name ~= "Other"and v.Name ~= "Axolotl"and v.Name ~= "Pixel"then
  675.                  table.insert(Areas, v.Name)
  676.              end
  677.          end
  678.  
  679.       Autofarm:Checklist("Area", "SelArea", Areas, function(t)
  680.           SelectedArea = t
  681.       end)
  682.      
  683.       local noiceCoin = {
  684.           'Coins',
  685.           'Crate',
  686.           'Large Coins',
  687.           'Safe',
  688.           'Small Chest',
  689.           'Present',
  690.           'Large Present',
  691.           'Tiny Coins',
  692.           'Vault',
  693.           'Chest',
  694.           'Tech Cube',
  695.           'Small Tech Cube',
  696.       }
  697.      
  698.      
  699.       Autofarm:Checklist("Select Coin", "hope", noiceCoin, function(t)
  700.           SecCoin2 = t
  701.       end)
  702.  
  703.          Autofarm:line()
  704.  
  705.          Autofarm:Toggle("Farm Nearest", false, function(t)
  706.           if t then
  707.               getgenv().PromptGuioof:AddText("Farm Nearest = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  708.           else
  709.               getgenv().PromptGuioof:AddText("Farm Nearest = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  710.           end
  711.           SettingsTable.FarmNearest = t
  712.          end)
  713.  
  714.          Autofarm:Toggle("MultiTarget", SettingsTable.MultiTarget, function(t)
  715.           if t then
  716.               getgenv().PromptGuioof:AddText("MultiTarget = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  717.           else
  718.               getgenv().PromptGuioof:AddText("MultiTarget = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  719.           end
  720.           SettingsTable.MultiTarget = t
  721.          end)
  722.  
  723.          Autofarm:Toggle("Farm Coins by Health", false, function(t)
  724.           if t then
  725.               getgenv().PromptGuioof:AddText("Farm Coins by Health = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  726.           else
  727.               getgenv().PromptGuioof:AddText("Farm Coins by Health = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  728.           end
  729.           FarmCoinHealth = t
  730.          end)
  731.  
  732.          spawn(function()
  733.             while task.wait(.7) do
  734.                 if game:GetService("Workspace")["__THINGS"].Orbs:FindFirstChildOfClass("Part") and (FarmCoinHealth
  735.                 or SettingsTable.MultiTarget or SettingsTable.FarmNearest or SettingsTable.AreaFarm
  736.                 or UltraAreaFarm or FarmSelectedCoin or SettingsTable.GemFarm or ChestFarm or SettingsTable.GemFarm) then
  737.                     local TweenService = game:GetService("TweenService")
  738.  
  739.                     for i,v in pairs(game:GetService("Workspace")["__THINGS"].Orbs:GetChildren()) do
  740.                         if v:IsA("Part") and v:FindFirstChild("Orb") then
  741.                             v.Orb.Sunray:Destroy()
  742.                             TweenService:Create(
  743.                                 v,
  744.                                 TweenInfo.new(.3, Enum.EasingStyle.Linear),
  745.                                 {CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame}
  746.                             ):Play()
  747.                         end
  748.                     end
  749.                 end
  750.             end
  751.         end)
  752.  
  753.   Autofarm:line()
  754.  
  755.  
  756.          Autofarm:Toggle("World Hop", false, function(t)
  757.           if t then
  758.               getgenv().PromptGuioof:AddText("World Hop = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  759.           else
  760.               getgenv().PromptGuioof:AddText("World Hop = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  761.           end
  762.               worldhop = t
  763.          end)
  764.  
  765.          local WorldTable = {
  766.              'Pixel',
  767.              'Axolotl Ocean', 'Fantasy', 'Spawn', 'Tech'
  768.          }
  769.  
  770.          Autofarm:Checklist("Select Worlds", "worldsel", WorldTable, function()
  771.          
  772.          end)
  773.  
  774.          
  775.  
  776.          spawn(function()
  777.           while task.wait(.5) do
  778.               if worldhop then
  779.                   pcall(function()
  780.                       for i,v in pairs(check["worldsel"].Value) do
  781.                           GameLibrary.WorldCmds.Load(v)
  782.                           wait(setTime or 5)
  783.                       end
  784.                   end)
  785.               else
  786.               end
  787.           end
  788.          end)
  789.  
  790.          Autofarm:Textbox("Type in Wait Time", "Here!", function(t)
  791.           setTime = t
  792.          end)
  793.  
  794.          Autofarm:line()
  795.  
  796.          maxhealth = 2500000000000000000
  797.  
  798.          Autofarm:Slider("Select Health", 1, maxhealth, 500, function(t)
  799.           SelHealth = t
  800.          end)
  801.  
  802.          Autofarm:Slider("Select Distance",1, 400, 307, function(v)
  803.           SelDistacne = v
  804.          end)
  805.  
  806.          Autofarm:line()
  807.  
  808.  
  809.   local CratesMasteryList = {"Town Crate"; "Forest Crate"; "Beach Crate"; "Mine Crate"; "Desert Crate"; "Volcano Crate"; "Winter Crate"; "Glacier Crate"; "Enchanted Forest Crate"; "Ancient Island Crate"; "Samurai Island Crate"; "Candy Island Crate"; "Haunted Island Crate"; "Hell Island Crate"; "Heaven Island Crate"; "Tech City Crate"; "Dark Tech Crate"; "Alien Forest Crate"; "Axolotl Ocean Crate"; "Pixel Forest Crate"; "Pixel Alps Crate";}
  810.  
  811.   local CoinsPilesMasteryList ={"Town Coins", "Town Large Coins", 'Town Tiny Coins', "Forest Coins", "Forest Large Coins", "Forest Tiny Coins", "Beach Coins", "Beach Large Coins", "Beach Tiny Coins", "Mine Coins", "Mine Large Coins", "Mine Tiny Coins", "Desert Coins", "Desert Large Coins", "Desert Tiny Coins", "Volcano Coins", "Volcano Large Coins", "Volcano Tiny Coins", "Winter Coins", "Winter Large Coins", "Winter Tiny Coins", "Glacier Coins", "Glacier Large Coins", "Glacier Tiny Coins", "Enchanted Forest Coins", "Enchanted Forest Large Coins", "Enchanted Forest Tiny Coins", "Ancient Island Coins", "Ancient Island Large Coins", "Ancient Island Tiny Coins", "Samurai Island Coins", "Samurai Island Large Coins", "Samurai Island Tiny Coins", "Candy Island Coins", "Candy Island Large Coins", "Candy Island Tiny Coins", "Haunted Island Coins", 'Haunted Island Large Coins', 'Haunted Island Tiny Coins', 'Heaven Island Coins', 'Heaven Island Large Coins', 'Heaven Island Tiny Coins', 'Tech City Coins', 'Tech City Large Coins', 'Tech City Tiny Coins', 'Dark Tech Coins', 'Dark Tech Large Coins', 'Dark Tech Tiny Coins', 'Steampunk Coins', 'Steampunk Large Coins', 'Steampunk Tiny Coins', 'Alien Lab Coins', 'Alien Lab Large Coins', 'Alien Lab Tiny Coins', 'Alien Forest Coins', 'Alien Forest Large Coins', 'Alien Forest Tiny Coins', 'Blue Glitched Coins', 'Blue Glitched Large Coins', 'Blue Glitched Tiny Coins', 'Pink Glitched Coins', 'Pink Glitched Large Coins', 'Pink Glitched Tiny Coins', 'Axolotl Ocean Coins', 'Axolotl Ocean Large Coins', 'Axolotl Ocean Tiny Coins', 'Pixel Forest Coins', 'Pixel Forest Large Coins', 'Pixel Forest Tiny Coins', 'Pixel Kyoto Coins', 'Pixel Kyoto Large Coins'}
  812.  
  813.   local ChestsMasteryList = {'Town Chest', "Forest Small Chest", "Forest Chest", "Beach Chest", "Beach Small Chest", "Mine Small Chest", "Mine Chest", "Desert Chest", "Desert Small Chest", "Winter Chest", "Winter Small Chest", "Glacier Chest", "Glacier Small Chest", "Enchanted Forest Chest", "Enchanted Forest Small Chest", "Samurai Island Chest", "Samurai Island Small Chest", "Candy Island Chest", "Candy Island Small Chest", "Hell Island Chest", 'Hell Island Small Chest', "Heaven Island Chest", 'Heaven Island Small Chest', "Axolotl Deep Ocean Chest", "Axolotl Deep Ocean Small Chest", "Pixel Forest Chest", 'Pixel Forest Small Chest', "Pixel Alps Chest", 'Pixel Alps Small Chest'}
  814.  
  815.   local PresentsMasteryList = {"Town Present", "Forest Present", "Beach Present", "Mine Present", "Desert Present", "Volcano Present", "Winter Present", "Glacier Present", "Enchanted Forest Present", "Ancient Island Present", "Samurai Island Present", "Candy Island Present", "Haunted Island Present", "Hell Island Present", "Heaven Island Present", "Tech City Present", "Dark Tech Present", "Alien Forest Present", "Blue Glitched Present", "Pink Glitched Present", "Axolotl Ocean Present", "Pixel Forest Present", "Pixel Kyoto Present", "Pixel Kyoto Large Present"}
  816.  
  817.   local VaultsSafesMasteryList = {"Forest Safe", "Forest Vault", "Beach Safe", "Beach Vault", "Mine Safe", "Mine Vault", "Desert Safe", "Desert Vault", "Volcano Safe", "Volcano Vault", "Winter Safe", "Winter Vault", "Glacier Safe", "Glacier Vault", "Enchanted Forest Safe", "Enchanted Forest Vault", "Ancient Island Vault", 'Ancient Island Safe', "Candy Island Vault", 'Candy Island Safe', "Haunted Island Vault", 'Haunted Island Safe', "Heaven Island Vault", 'Heaven Island Safe', "Tech City Vault", 'Tech City Safe', "Steampunk Vault", 'Steampunk Safe', "Alien Lab Vault", 'Alien Lab Safe', "Blue Glitched Vault", 'Blue Glitched Safe', "Pink Glitched Vault", 'Pink Glitched Safe', "Axolotl Deep Ocean Vault", 'Axolotl Deep Ocean Safe', "Pixel Forest Vault", 'Pixel Forest Safe', "Pixel Vault Safe", "Pixel Vault Vault"}
  818.  
  819.   local DiamondsMasteryList = {"Diamonds", "Tiny Diamonds"}
  820.   local MasteryIndex = {"All", "Coins Piles Mastery", "Crates Mastery", "Chests Mastery", "Presents Mastery", "Vaults & Safes Mastery", "Diamonds Mastery"}
  821.   Autofarm:Checklist("Mastery List", "Mast", MasteryIndex, function(v)
  822.       hewoUwU = v
  823.   end)
  824.  
  825.   Autofarm:Toggle("Auto Farm Mastery", false, function(t)
  826.       if t then
  827.           getgenv().PromptGuioof:AddText("Auto Farm Mastery = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  828.       else
  829.           getgenv().PromptGuioof:AddText("Auto Farm Mastery = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  830.       end
  831.       Mastery = t
  832.   end)
  833.  
  834.   spawn(function()
  835.       while task.wait(FarmingSpeed) do
  836.           if Mastery then
  837.               pcall(function()
  838.                   for i2, v2 in pairs(check["Mast"].Value) do
  839.                       if v2 == "Crates Mastery" then
  840.                           local CurrentFarmingPets = {}
  841.                           local pethingy = GetMyPets()
  842.                           for i,v in pairs(CratesMastery()) do
  843.                               if v.index%#pethingy == #pethingy-1 then wait() end
  844.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  845.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  846.                                       pcall(function()
  847.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  848.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  849.                                       end)
  850.                                   end
  851.                               end
  852.                           end
  853.                       elseif v2 == "All" then
  854.                           local CurrentFarmingPets = {}
  855.                           local pethingy = GetMyPets()
  856.                           for i,v in pairs(CoinsPilesMastery()) do
  857.                               if v.index%#pethingy == #pethingy-1 then wait() end
  858.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  859.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  860.                                       pcall(function()
  861.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  862.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  863.                                       end)
  864.                                   end
  865.                               end
  866.                           end
  867.                           for i,v in pairs(DiamondsMastery()) do
  868.                               if v.index%#pethingy == #pethingy-1 then wait() end
  869.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  870.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  871.                                       pcall(function()
  872.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  873.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  874.                                       end)
  875.                                   end
  876.                               end
  877.                           end
  878.                           for i,v in pairs(VaultsSafesMastery()) do
  879.                               if v.index%#pethingy == #pethingy-1 then wait() end
  880.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  881.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  882.                                       pcall(function()
  883.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  884.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  885.                                       end)
  886.                                   end
  887.                               end
  888.                           end
  889.                           for i,v in pairs(ChestsMastery()) do
  890.                               if v.index%#pethingy == #pethingy-1 then wait() end
  891.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  892.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  893.                                       pcall(function()
  894.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  895.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  896.                                       end)
  897.                                   end
  898.                               end
  899.                           end
  900.                           for i,v in pairs(PresentsMastery()) do
  901.                               if v.index%#pethingy == #pethingy-1 then wait() end
  902.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  903.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  904.                                       pcall(function()
  905.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  906.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  907.                                       end)
  908.                                   end
  909.                               end
  910.                           end
  911.  
  912.  
  913.                       elseif v2 == "Coins Piles Mastery" then
  914.                           local CurrentFarmingPets = {}
  915.                           local pethingy = GetMyPets()
  916.                           for i,v in pairs(CoinsPilesMastery()) do
  917.                               if v.index%#pethingy == #pethingy-1 then wait() end
  918.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  919.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  920.                                       pcall(function()
  921.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  922.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  923.                                       end)
  924.                                   end
  925.                               end
  926.                           end
  927.                       elseif v2 == "Chests Mastery" then
  928.                           local CurrentFarmingPets = {}
  929.                           local pethingy = GetMyPets()
  930.                           for i,v in pairs(ChestsMastery()) do
  931.                               if v.index%#pethingy == #pethingy-1 then wait() end
  932.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  933.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  934.                                       pcall(function()
  935.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  936.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  937.                                       end)
  938.                                   end
  939.                               end
  940.                           end
  941.                       elseif v2 == "Presents Mastery" then
  942.                           local CurrentFarmingPets = {}
  943.                           local pethingy = GetMyPets()
  944.                           for i,v in pairs(PresentsMastery()) do
  945.                               if v.index%#pethingy == #pethingy-1 then wait() end
  946.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  947.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  948.                                       pcall(function()
  949.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  950.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  951.                                       end)
  952.                                   end
  953.                               end
  954.                           end
  955.                       elseif v2 == "Vaults & Safes Mastery" then
  956.                           local CurrentFarmingPets = {}
  957.                           local pethingy = GetMyPets()
  958.                           for i,v in pairs(VaultsSafesMastery()) do
  959.                               if v.index%#pethingy == #pethingy-1 then wait() end
  960.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  961.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  962.                                       pcall(function()
  963.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  964.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  965.                                       end)
  966.                                   end
  967.                               end
  968.                           end
  969.                       elseif v2 == "Diamonds Mastery" then
  970.                           local CurrentFarmingPets = {}
  971.                           local pethingy = GetMyPets()
  972.                           for i,v in pairs(DiamondsMastery()) do
  973.                               if v.index%#pethingy == #pethingy-1 then wait() end
  974.                               if not CurrentFarmingPets[pethingy[v.index%#pethingy+1]] or CurrentFarmingPets[pethingy[v.index%#pethingy+1]] == nil then
  975.                                   if game:GetService("Workspace")["__THINGS"].Coins:FindFirstChild(v.index) then
  976.                                       pcall(function()
  977.                                           CurrentFarmingPets[pethingy[v.index%#pethingy+1]] = 'Farming'
  978.                                           FarmCoin(v.index, pethingy[v.index%#pethingy+1])
  979.                                       end)
  980.                                   end
  981.                               end
  982.                           end
  983.                       end
  984.                   end
  985.               end)
  986.           end
  987.       end
  988.   end)
  989.  
  990.   function CratesMastery()
  991.       local returntable = {}
  992.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  993.       for i,v in pairs(ListCoins) do
  994.           local shit = v
  995.           shit["index"] = i
  996.           for aa,bb in pairs(CratesMasteryList) do
  997.               if string.find(v.n, bb) then
  998.                   local thing = string.gsub(v.n, bb.." ", " ")
  999.                   if table.find(CratesMasteryList, thing) then
  1000.                       shit.n = thing
  1001.                       table.insert(returntable, shit)
  1002.                   end
  1003.               end
  1004.           end
  1005.       end
  1006.       return returntable
  1007.   end
  1008.  
  1009.   function CoinsPilesMastery()
  1010.       local returntable = {}
  1011.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1012.       for i,v in pairs(ListCoins) do
  1013.           local shit = v
  1014.           shit["index"] = i
  1015.           for aa,bb in pairs(CoinsPilesMasteryList) do
  1016.               if string.find(v.n, bb) then
  1017.                   local thing = string.gsub(v.n, bb.." ", " ")
  1018.                   if table.find(CoinsPilesMasteryList, thing) then
  1019.                       shit.n = thing
  1020.                       table.insert(returntable, shit)
  1021.                   end
  1022.               end
  1023.           end
  1024.       end
  1025.       return returntable
  1026.   end
  1027.  
  1028.   function ChestsMastery()
  1029.       local returntable = {}
  1030.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1031.       for i,v in pairs(ListCoins) do
  1032.           local shit = v
  1033.           shit["index"] = i
  1034.           for aa,bb in pairs(ChestsMasteryList) do
  1035.               if string.find(v.n, bb) then
  1036.                   local thing = string.gsub(v.n, bb.." ", " ")
  1037.                   if table.find(ChestsMasteryList, thing) then
  1038.                       shit.n = thing
  1039.                       table.insert(returntable, shit)
  1040.                   end
  1041.               end
  1042.           end
  1043.       end
  1044.       return returntable
  1045.   end
  1046.  
  1047.   function PresentsMastery()
  1048.       local returntable = {}
  1049.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1050.       for i,v in pairs(ListCoins) do
  1051.           local shit = v
  1052.           shit["index"] = i
  1053.           for aa,bb in pairs(PresentsMasteryList) do
  1054.               if string.find(v.n, bb) then
  1055.                   local thing = string.gsub(v.n, bb.." ", " ")
  1056.                   if table.find(PresentsMasteryList, thing) then
  1057.                       shit.n = thing
  1058.                       table.insert(returntable, shit)
  1059.                   end
  1060.               end
  1061.           end
  1062.       end
  1063.       return returntable
  1064.   end
  1065.  
  1066.   function VaultsSafesMastery()
  1067.       local returntable = {}
  1068.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1069.       for i,v in pairs(ListCoins) do
  1070.           local shit = v
  1071.           shit["index"] = i
  1072.           for aa,bb in pairs(VaultsSafesMasteryList) do
  1073.               if string.find(v.n, bb) then
  1074.                   local thing = string.gsub(v.n, bb.." ", " ")
  1075.                   if table.find(VaultsSafesMasteryList, thing) then
  1076.                       shit.n = thing
  1077.                       table.insert(returntable, shit)
  1078.                   end
  1079.               end
  1080.           end
  1081.       end
  1082.       return returntable
  1083.   end
  1084.  
  1085.   function DiamondsMastery()
  1086.       local returntable = {}
  1087.       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1088.       for i,v in pairs(ListCoins) do
  1089.           local shit = v
  1090.           shit["index"] = i
  1091.           for aa,bb in pairs(DiamondsMasteryList) do
  1092.               if string.find(v.n, bb) then
  1093.                   local thing = string.gsub(v.n, bb.." ", " ")
  1094.                   if table.find(DiamondsMasteryList, thing) then
  1095.                       shit.n = thing
  1096.                       table.insert(returntable, shit)
  1097.                   end
  1098.               end
  1099.           end
  1100.       end
  1101.       return returntable
  1102.   end
  1103.  
  1104.          Autofarm:line()
  1105.  
  1106.          Autofarm:Toggle("Hide Coin Health", false, function(v)
  1107.           ShowHealt = v
  1108.          end)
  1109.  
  1110.          spawn(function()
  1111.           while task.wait() do
  1112.               if ShowHealt then
  1113.                   pcall(function()
  1114.                       for i,v in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetDescendants()) do
  1115.                           if v.Name == "HUD" then
  1116.                               v:Destroy()
  1117.                            end
  1118.                        end
  1119.                   end)
  1120.               end
  1121.           end
  1122.          end)
  1123.  
  1124.          Autofarm:Toggle("Hide Coins", false, function(v)
  1125.           ShowCoin = v
  1126.          end)
  1127.  
  1128.          spawn(function()
  1129.           while task.wait() do
  1130.               if ShowCoin then
  1131.                   pcall(function()
  1132.                       for i,v in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetChildren()) do
  1133.                           v:Destroy()
  1134.                       end
  1135.                   end)
  1136.               end
  1137.           end
  1138.          end)
  1139.  
  1140.   function FarmCoin(CoinID, PetID)
  1141.       game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1142.       game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1143.    end
  1144.  
  1145.    spawn(function()
  1146.       while task.wait(FarmingSpeed) do
  1147.           if ChestFarm then
  1148.               pcall(function()
  1149.  
  1150.                   if fastoption then
  1151.                       for i2, v2 in pairs(check["chests"].Value) do
  1152.                       if v2 == 'All' then
  1153.                           local function FarmCoin(CoinID, PetID)
  1154.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1155.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1156.                            end
  1157.                      
  1158.                            local function GetPet()
  1159.                               local ReturnTable = {}
  1160.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1161.                                       if v.ClassName == "TextButton" and v.Equipped.Visible then
  1162.                                           table.insert(ReturnTable, v.Name)
  1163.                                       end
  1164.                                   end
  1165.                               return ReturnTable
  1166.                            end
  1167.          
  1168.                           local function GetCoins(chest)
  1169.                               local ReturnTable = {}
  1170.                               local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1171.                               for i,v in pairs(ListCoins) do
  1172.                                   if v.n == 'Volcano Magma Chest' or
  1173.                                   v.n == "Ancient Island Enchanted Chest" or
  1174.                                   v.n == "Hell Island Hell Chest" or
  1175.                                   v.n == "Haunted Island Haunted Chest" or
  1176.                                   v.n == "Heaven Island Angel Chest" or
  1177.                                   v.n == "Heavens Gate Grand Heaven Chest" or
  1178.                                   v.n == "Giant Tech Chest" or
  1179.                                   v.n == "Giant Steampunk Chest" or
  1180.                                   v.n == "Giant Alien Chest" or
  1181.                                   v.n == "Giant Ocean Chest" or
  1182.                                   v.n == "Giant Present"
  1183.                                   then
  1184.                                       local Coin = v
  1185.                                       Coin["index"] = i
  1186.                                       table.insert(ReturnTable, Coin)
  1187.                                   end
  1188.                               end
  1189.                               return ReturnTable
  1190.                           end
  1191.          
  1192.                           local PetThiny = GetPet()
  1193.                           local Cointhiny = GetCoins()
  1194.          
  1195.                           for i = 1, #Cointhiny do
  1196.                               coroutine.wrap(function()
  1197.                               FarmCoin(Cointhiny[i].index, PetThiny[1])
  1198.                               FarmCoin(Cointhiny[i].index, PetThiny[2])
  1199.                               FarmCoin(Cointhiny[i].index, PetThiny[3])
  1200.                               FarmCoin(Cointhiny[i].index, PetThiny[4])
  1201.                               FarmCoin(Cointhiny[i].index, PetThiny[5])
  1202.                               FarmCoin(Cointhiny[i].index, PetThiny[6])
  1203.                               FarmCoin(Cointhiny[i].index, PetThiny[7])
  1204.                               FarmCoin(Cointhiny[i].index, PetThiny[8])
  1205.                               FarmCoin(Cointhiny[i].index, PetThiny[9])
  1206.                               FarmCoin(Cointhiny[i].index, PetThiny[10])
  1207.                               FarmCoin(Cointhiny[i].index, PetThiny[11])
  1208.                               FarmCoin(Cointhiny[i].index, PetThiny[12])
  1209.                               FarmCoin(Cointhiny[i].index, PetThiny[13])
  1210.                               FarmCoin(Cointhiny[i].index, PetThiny[14])
  1211.                               FarmCoin(Cointhiny[i].index, PetThiny[15])
  1212.                               FarmCoin(Cointhiny[i].index, PetThiny[16])
  1213.                               FarmCoin(Cointhiny[i].index, PetThiny[17])
  1214.                               FarmCoin(Cointhiny[i].index, PetThiny[18])
  1215.                               FarmCoin(Cointhiny[i].index, PetThiny[19])
  1216.                               FarmCoin(Cointhiny[i].index, PetThiny[20])
  1217.                               FarmCoin(Cointhiny[i].index, PetThiny[21])
  1218.                               FarmCoin(Cointhiny[i].index, PetThiny[22])
  1219.                               end)()
  1220.                           end
  1221.                       else
  1222.                           local function FarmCoin(CoinID, PetID)
  1223.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1224.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1225.                            end
  1226.                      
  1227.                            local function GetPet()
  1228.                               local ReturnTable = {}
  1229.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1230.                                       if v.ClassName == "TextButton" and v.Equipped.Visible then
  1231.                                           table.insert(ReturnTable, v.Name)
  1232.                                       end
  1233.                                   end
  1234.                               return ReturnTable
  1235.                            end
  1236.          
  1237.          
  1238.                           local function GetCoins(chest)
  1239.                               local ReturnTable = {}
  1240.                               local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1241.                               for i,v in pairs(ListCoins) do
  1242.                                   for i2, v2 in pairs(check["chests"].Value) do
  1243.                                           if v.n == v2 then
  1244.                                           local Coin = v
  1245.                                           Coin["index"] = i
  1246.                                           table.insert(ReturnTable, Coin)
  1247.                                       end
  1248.                                   end
  1249.                               end
  1250.                               return ReturnTable
  1251.                           end
  1252.          
  1253.                           local PetThiny = GetPet()
  1254.                           local Cointhiny = GetCoins()
  1255.          
  1256.                           for i = 1, #Cointhiny do
  1257.                               coroutine.wrap(function()
  1258.                                 FarmCoin(Cointhiny[i].index, PetThiny[1])
  1259.                                 FarmCoin(Cointhiny[i].index, PetThiny[2])
  1260.                                 FarmCoin(Cointhiny[i].index, PetThiny[3])
  1261.                                 FarmCoin(Cointhiny[i].index, PetThiny[4])
  1262.                                 FarmCoin(Cointhiny[i].index, PetThiny[5])
  1263.                                 FarmCoin(Cointhiny[i].index, PetThiny[6])
  1264.                                 FarmCoin(Cointhiny[i].index, PetThiny[7])
  1265.                                 FarmCoin(Cointhiny[i].index, PetThiny[8])
  1266.                                 FarmCoin(Cointhiny[i].index, PetThiny[9])
  1267.                                 FarmCoin(Cointhiny[i].index, PetThiny[10])
  1268.                                 FarmCoin(Cointhiny[i].index, PetThiny[11])
  1269.                                 FarmCoin(Cointhiny[i].index, PetThiny[12])
  1270.                                 FarmCoin(Cointhiny[i].index, PetThiny[13])
  1271.                                 FarmCoin(Cointhiny[i].index, PetThiny[14])
  1272.                                 FarmCoin(Cointhiny[i].index, PetThiny[15])
  1273.                                 FarmCoin(Cointhiny[i].index, PetThiny[16])
  1274.                                 FarmCoin(Cointhiny[i].index, PetThiny[17])
  1275.                                 FarmCoin(Cointhiny[i].index, PetThiny[18])
  1276.                                 FarmCoin(Cointhiny[i].index, PetThiny[19])
  1277.                                 FarmCoin(Cointhiny[i].index, PetThiny[20])
  1278.                                 FarmCoin(Cointhiny[i].index, PetThiny[21])
  1279.                                 FarmCoin(Cointhiny[i].index, PetThiny[22])
  1280.                               end)()
  1281.                           end
  1282.                       end
  1283.                   end
  1284.               else
  1285.                   for i2, v2 in pairs(check["chests"].Value) do
  1286.                   if v2 == 'All' then
  1287.                       local function FarmCoin(CoinID, PetID)
  1288.                           game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1289.                           game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1290.                        end
  1291.                  
  1292.                        local function GetPet()
  1293.                           local ReturnTable = {}
  1294.                               for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1295.                                   if v.ClassName == "TextButton" and v.Equipped.Visible then
  1296.                                       table.insert(ReturnTable, v.Name)
  1297.                                   end
  1298.                               end
  1299.                           return ReturnTable
  1300.                        end
  1301.      
  1302.                       local function GetCoins(chest)
  1303.                           local ReturnTable = {}
  1304.                           local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1305.                           for i,v in pairs(ListCoins) do
  1306.                               if v.n == 'Volcano Magma Chest' or
  1307.                               v.n == "Ancient Island Enchanted Chest" or
  1308.                               v.n == "Hell Island Hell Chest" or
  1309.                               v.n == "Haunted Island Haunted Chest" or
  1310.                               v.n == "Heaven Island Angel Chest" or
  1311.                               v.n == "Heavens Gate Grand Heaven Chest" or
  1312.                               v.n == "Giant Tech Chest" or
  1313.                               v.n == "Giant Steampunk Chest" or
  1314.                               v.n == "Giant Alien Chest" or
  1315.                               v.n == "Giant Ocean Chest" or
  1316.                               v.n == "Giant Present"
  1317.                               then
  1318.                                   local Coin = v
  1319.                                   Coin["index"] = i
  1320.                                   table.insert(ReturnTable, Coin)
  1321.                               end
  1322.                           end
  1323.                           return ReturnTable
  1324.                       end
  1325.      
  1326.                       local PetThiny = GetPet()
  1327.                       local Cointhiny = GetCoins()
  1328.      
  1329.                       for i = 1, #Cointhiny do
  1330.                         FarmCoin(Cointhiny[i].index, PetThiny[1])
  1331.                         FarmCoin(Cointhiny[i].index, PetThiny[2])
  1332.                         FarmCoin(Cointhiny[i].index, PetThiny[3])
  1333.                         FarmCoin(Cointhiny[i].index, PetThiny[4])
  1334.                         FarmCoin(Cointhiny[i].index, PetThiny[5])
  1335.                         FarmCoin(Cointhiny[i].index, PetThiny[6])
  1336.                         FarmCoin(Cointhiny[i].index, PetThiny[7])
  1337.                         FarmCoin(Cointhiny[i].index, PetThiny[8])
  1338.                         FarmCoin(Cointhiny[i].index, PetThiny[9])
  1339.                         FarmCoin(Cointhiny[i].index, PetThiny[10])
  1340.                         FarmCoin(Cointhiny[i].index, PetThiny[11])
  1341.                         FarmCoin(Cointhiny[i].index, PetThiny[12])
  1342.                         FarmCoin(Cointhiny[i].index, PetThiny[13])
  1343.                         FarmCoin(Cointhiny[i].index, PetThiny[14])
  1344.                         FarmCoin(Cointhiny[i].index, PetThiny[15])
  1345.                         FarmCoin(Cointhiny[i].index, PetThiny[16])
  1346.                         FarmCoin(Cointhiny[i].index, PetThiny[17])
  1347.                         FarmCoin(Cointhiny[i].index, PetThiny[18])
  1348.                         FarmCoin(Cointhiny[i].index, PetThiny[19])
  1349.                         FarmCoin(Cointhiny[i].index, PetThiny[20])
  1350.                         FarmCoin(Cointhiny[i].index, PetThiny[21])
  1351.                         FarmCoin(Cointhiny[i].index, PetThiny[22])
  1352.                       end
  1353.                   else
  1354.                       local function FarmCoin(CoinID, PetID)
  1355.                           game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1356.                           game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1357.                        end
  1358.                  
  1359.                        local function GetPet()
  1360.                           local ReturnTable = {}
  1361.                               for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1362.                                   if v.ClassName == "TextButton" and v.Equipped.Visible then
  1363.                                       table.insert(ReturnTable, v.Name)
  1364.                                   end
  1365.                               end
  1366.                           return ReturnTable
  1367.                        end
  1368.      
  1369.      
  1370.                       local function GetCoins(chest)
  1371.                           local ReturnTable = {}
  1372.                           local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1373.                           for i,v in pairs(ListCoins) do
  1374.                           for i2, v2 in pairs(check["chests"].Value) do
  1375.                               if v.n == v2 then
  1376.                                   local Coin = v
  1377.                                   Coin["index"] = i
  1378.                                   table.insert(ReturnTable, Coin)
  1379.                               end
  1380.                           end
  1381.                           end
  1382.                           return ReturnTable
  1383.                       end
  1384.      
  1385.                       local PetThiny = GetPet()
  1386.                       local Cointhiny = GetCoins()
  1387.      
  1388.                       for i = 1, #Cointhiny do
  1389.                         FarmCoin(Cointhiny[i].index, PetThiny[1])
  1390.                         FarmCoin(Cointhiny[i].index, PetThiny[2])
  1391.                         FarmCoin(Cointhiny[i].index, PetThiny[3])
  1392.                         FarmCoin(Cointhiny[i].index, PetThiny[4])
  1393.                         FarmCoin(Cointhiny[i].index, PetThiny[5])
  1394.                         FarmCoin(Cointhiny[i].index, PetThiny[6])
  1395.                         FarmCoin(Cointhiny[i].index, PetThiny[7])
  1396.                         FarmCoin(Cointhiny[i].index, PetThiny[8])
  1397.                         FarmCoin(Cointhiny[i].index, PetThiny[9])
  1398.                         FarmCoin(Cointhiny[i].index, PetThiny[10])
  1399.                         FarmCoin(Cointhiny[i].index, PetThiny[11])
  1400.                         FarmCoin(Cointhiny[i].index, PetThiny[12])
  1401.                         FarmCoin(Cointhiny[i].index, PetThiny[13])
  1402.                         FarmCoin(Cointhiny[i].index, PetThiny[14])
  1403.                         FarmCoin(Cointhiny[i].index, PetThiny[15])
  1404.                         FarmCoin(Cointhiny[i].index, PetThiny[16])
  1405.                         FarmCoin(Cointhiny[i].index, PetThiny[17])
  1406.                         FarmCoin(Cointhiny[i].index, PetThiny[18])
  1407.                         FarmCoin(Cointhiny[i].index, PetThiny[19])
  1408.                         FarmCoin(Cointhiny[i].index, PetThiny[20])
  1409.                         FarmCoin(Cointhiny[i].index, PetThiny[21])
  1410.                         FarmCoin(Cointhiny[i].index, PetThiny[22])
  1411.                       end
  1412.                   end
  1413.                   end
  1414.               end
  1415.               end)
  1416.           end
  1417.       end
  1418.   end)
  1419.  
  1420.  
  1421.   spawn(function()
  1422.   while task.wait(FarmingSpeed) do
  1423.       if SettingsTable.GemFarm then
  1424.       function getGemid()
  1425.           for i,v in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetDescendants()) do
  1426.               if v:IsA"MeshPart" then
  1427.                   if v.MeshId == 'rbxassetid://7041620873' or v.MeshId == 'rbxassetid://7041621431' or v.MeshId == 'rbxassetid://7041621329' or v.MeshId == 'rbxassetid://7041620873' then
  1428.                       a = v.Parent.Name
  1429.                   end
  1430.               end
  1431.           end
  1432.           return a
  1433.       end
  1434.  
  1435.          
  1436.                function GetThePets2()
  1437.                   local returntable = {}
  1438.                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1439.                       if v.ClassName == 'TextButton' and v.Equipped.Visible then
  1440.                           table.insert(returntable, v.Name)
  1441.                       end
  1442.                   end
  1443.                   return returntable
  1444.                end
  1445.                
  1446.                local GetMyPets = GetThePets2()
  1447.                
  1448.                    function FarmCoin65(CoinID, PetID)
  1449.                   game.workspace["__THINGS"]["__REMOTES"]["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1450.                   game.workspace["__THINGS"]["__REMOTES"]["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1451.                    end
  1452.          
  1453.          
  1454.          
  1455.           for i,v in pairs(GetMyPets) do
  1456.             pcall(function()
  1457.                 FarmCoin65(getGemid(), v)
  1458.             end)
  1459.              end
  1460.           end
  1461.       end
  1462.       end)
  1463.  
  1464.  
  1465.       spawn(function()
  1466.           while task.wait(.6) do
  1467.               if FarmCoinHealth then
  1468.                   pcall(function()
  1469.                       function FarmCoin(CoinID, PetID)
  1470.                           game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1471.                           game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})                
  1472.                       end
  1473.      
  1474.                       function GetPet()
  1475.                           local Returntable = {}
  1476.                               for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1477.                                   if v.ClassName == "TextButton" and v.Equipped.Visible then
  1478.                                       table.insert(Returntable, v.Name)
  1479.                                   end
  1480.                               end
  1481.                           return Returntable
  1482.                       end
  1483.      
  1484.                       local NearestCoin = tonumber(SelDistacne)
  1485.                       function GetCoins()
  1486.                           local Returntable = {}
  1487.                           local Areas = (areaTable)
  1488.                           local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1489.                           for i,v in pairs(ListCoins) do
  1490.                               if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.p).Magnitude < NearestCoin or v.h >= SelHealth then
  1491.                                   local Coin = v
  1492.                                   Coin["index"] = i
  1493.                                   table.insert(Returntable, Coin)
  1494.                                   NearestCoin = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.p).Magnitude
  1495.                               end
  1496.                           end
  1497.                           return Returntable
  1498.                       end
  1499.      
  1500.                       local petthingy = GetPet()
  1501.      
  1502.                       local cointhiny = GetCoins()
  1503.      
  1504.                       for i = 1, #cointhiny do
  1505.                           coroutine.wrap(function()
  1506.                               FarmCoin(cointhiny[i].index, petthingy[i%#petthingy+1])
  1507.                           end)()
  1508.                       end
  1509.  
  1510.       end)
  1511.       end
  1512.       end
  1513.       end)
  1514.  
  1515.       --FarmSelectedCoin
  1516.   --SelectedArea
  1517.   spawn(function()
  1518.       while task.wait(FarmingSpeed) do
  1519.           if FarmSelectedCoin then
  1520.               pcall(function()
  1521.                   for i4, v4 in pairs(check["SelArea"].Value) do
  1522.                       if v4 == "All" then
  1523.                           local function FarmCoin(CoinID, PetID)
  1524.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1525.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1526.                            end
  1527.                      
  1528.                            local function GetPet()
  1529.                               local ReturnTable = {}
  1530.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1531.                                       if v.ClassName == "TextButton" and v.Equipped.Visible then
  1532.                                           table.insert(ReturnTable, v.Name)
  1533.                                       end
  1534.                                   end
  1535.                               return ReturnTable
  1536.                            end
  1537.          
  1538.                           local function GetCoins(area)
  1539.                               local ReturnTable = {}
  1540.                               local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1541.                               for i,v in pairs(ListCoins) do
  1542.                                 for i2, v2 in pairs(check["hope"].Value) do
  1543.                                   if v.n == "Town".. " ".. v2 or
  1544.                                   v.n == "Forest".. " ".. v2 or
  1545.                                   v.n == "Beach".. " ".. v2 or
  1546.                                   v.n == "Mine".. " ".. v2 or
  1547.                                   v.n == "Winter".. " ".. v2 or
  1548.                                   v.n == "Glacier".. " ".. v2 or
  1549.                                   v.n == "Desert".. " ".. v2 or
  1550.                                   v.n == "Volcano".. " ".. v2 or
  1551.                                   v.n == "Enchanted Forest".. " ".. v2 or
  1552.                                   v.n == "Ancient Island".. " ".. v2 or
  1553.                                   v.n == "Samurai Island".. " ".. v2 or
  1554.                                   v.n == "Candy Island".. " ".. v2 or
  1555.                                   v.n == "Haunted Island".. " ".. v2 or
  1556.                                   v.n == "Hell Island".. " ".. v2 or
  1557.                                   v.n == "Heaven Island".. " ".. v2 or
  1558.                                   v.n == "Ice Tech".. " ".. v2 or
  1559.                                   v.n == "Tech City".. " ".. v2 or
  1560.                                   v.n == "Dark Tech".. " ".. v2 or
  1561.                                   v.n == "Steampunk".. " ".. v2 or
  1562.                                   v.n == "Alien Lab".. " ".. v2 or
  1563.                                   v.n == "Alien Forest".. " ".. v2 or
  1564.                                   v.n == "Glitch".. " ".. v2 or
  1565.                                   v.n == "Hacker Portal".. " ".. v2 or
  1566.                                   v.n == "Axolotl Ocean".. " ".. v2 or
  1567.                                   v.n == "Axolotl Deep Ocean".. " ".. v2 or
  1568.                                   v.n == "Axolotl Cave".. " ".. v2
  1569.                                    then
  1570.                                       local Coin = v
  1571.                                       Coin["index"] = i
  1572.                                       table.insert(ReturnTable, Coin)
  1573.                                 end
  1574.                                 end
  1575.                               end
  1576.                               return ReturnTable
  1577.                           end
  1578.          
  1579.                           local PetThiny = GetPet()
  1580.                           local Cointhiny = GetCoins()
  1581.          
  1582.                           for i = 1, #Cointhiny do
  1583.                             coroutine.wrap(function()
  1584.                               FarmCoin(Cointhiny[i].index, PetThiny[i%#PetThiny+1])
  1585.                             end)()
  1586.                           end
  1587.  
  1588.                       else
  1589.  
  1590.                           local function FarmCoin(CoinID, PetID)
  1591.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1592.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1593.                            end
  1594.                      
  1595.                            local function GetPet()
  1596.                               local ReturnTable = {}
  1597.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1598.                                       if v.ClassName == "TextButton" and v.Equipped.Visible then
  1599.                                           table.insert(ReturnTable, v.Name)
  1600.                                       end
  1601.                                   end
  1602.                               return ReturnTable
  1603.                            end
  1604.          
  1605.                           local function GetCoins(area)
  1606.                               local ReturnTable = {}
  1607.                               local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1608.                               for i,v in pairs(ListCoins) do
  1609.                                 for i2, v2 in pairs(check["hope"].Value) do
  1610.                                     for i3, v3 in pairs(check["SelArea"].Value) do
  1611.                                   if v.n == v3.. " ".. v2 then
  1612.                                       local Coin = v
  1613.                                       Coin["index"] = i
  1614.                                       table.insert(ReturnTable, Coin)
  1615.                                   end
  1616.                                 end
  1617.                                 end
  1618.                               end
  1619.                               return ReturnTable
  1620.                           end
  1621.          
  1622.                           local PetThiny = GetPet()
  1623.                           local Cointhiny = GetCoins()
  1624.          
  1625.                           for i = 1, #Cointhiny do
  1626.                             coroutine.wrap(function()
  1627.                               FarmCoin(Cointhiny[i].index, PetThiny[i%#PetThiny+1])
  1628.                             end)()
  1629.                           end
  1630.                       end
  1631.                   end
  1632.  
  1633.   end)
  1634.   end
  1635.   end
  1636.   end)
  1637.        
  1638.   spawn(function()
  1639.       while task.wait(FarmingSpeed) do
  1640.           if SettingsTable.AreaFarm then
  1641.               pcall(function()
  1642.  
  1643.                           for i, v in pairs(check["SelArea"].Value) do
  1644.                               getgenv().Area = v
  1645.                           end
  1646.  
  1647.                           function FarmCoin(CoinID, PetID)
  1648.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1649.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1650.                               game:GetService("ReplicatedStorage").Framework.Modules["2 | Network"]["update coin pets"]:Fire(CoinID, {[1] = PetID})
  1651.                           end
  1652.                                    
  1653.                               function GetMyPets()
  1654.                               local returntable = {}
  1655.                               for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1656.                                   if v.ClassName == 'TextButton' and v.Equipped.Visible then
  1657.                                       table.insert(returntable, v.Name)
  1658.                                   end
  1659.                               end
  1660.                               return returntable
  1661.                               end
  1662.                      
  1663.                       function GetCoins()
  1664.                       local returntable = {}
  1665.                       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1666.                       for i,v in pairs(ListCoins) do
  1667.                           if Area == "All" or string.find(string.lower(v.a), string.lower(Area)) then
  1668.                               table.insert(returntable, i)
  1669.                           end
  1670.                       end
  1671.                       return returntable
  1672.                       end
  1673.                      
  1674.                           local cointhiny = GetCoins()
  1675.                           local getpet = GetMyPets()
  1676.                           for i = 1, #cointhiny do
  1677.                               pcall(function() FarmCoin(cointhiny[i], getpet[i%#getpet+1]) end)
  1678.                           end
  1679.  
  1680.                           --[[
  1681.                           local function FarmCoin(CoinID, PetID)
  1682.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1683.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1684.                            end
  1685.                      
  1686.                            local function GetPet()
  1687.                               local ReturnTable = {}
  1688.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1689.                                       if v.ClassName == "TextButton" and v.Equipped.Visible then
  1690.                                           table.insert(ReturnTable, v.Name)
  1691.                                       end
  1692.                                   end
  1693.                               return ReturnTable
  1694.                            end
  1695.          
  1696.          
  1697.                           local function GetCoins()
  1698.                               local ReturnTable = {}
  1699.                               local AreaTable = (areaTable)
  1700.                               local ListCoins = workspace.__THINGS.__REMOTES["get coins"]:InvokeServer({})[1]
  1701.                               for i,v in pairs(ListCoins) do
  1702.                                   for i2, v2 in pairs(check["SelArea"].Value) do
  1703.                                   if v2 == "All" or v.a == v2 then
  1704.                                       local Coin = v
  1705.                                       Coin["index"] = i
  1706.                                       table.insert(ReturnTable, Coin)
  1707.                                   end
  1708.                               end
  1709.                               end
  1710.                               return ReturnTable
  1711.                           end
  1712.          
  1713.                           local PetThiny = GetPet()
  1714.                           local Cointhiny = GetCoins()
  1715.          
  1716.                           for i = 1, #Cointhiny do
  1717.                               FarmCoin(Cointhiny[i].index, PetThiny[i%#PetThiny+1])
  1718.                           end]]
  1719.               end)
  1720.           end
  1721.       end
  1722.   end)
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.   spawn(function()
  1729.       while task.wait(FarmingSpeed) do
  1730.           if UltraAreaFarm then
  1731.               pcall(function()
  1732.                      
  1733.                       for i, v in pairs(check["SelArea"].Value) do
  1734.                           getgenv().Area = v
  1735.                       end
  1736.          
  1737.                       function FarmCoin(CoinID, PetID)
  1738.                           game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1739.                           game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1740.                       end
  1741.                                
  1742.                           function GetMyPets()
  1743.                           local returntable = {}
  1744.                           for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1745.                               if v.ClassName == 'TextButton' and v.Equipped.Visible then
  1746.                                   table.insert(returntable, v.Name)
  1747.                               end
  1748.                           end
  1749.                           return returntable
  1750.                           end
  1751.                  
  1752.                   function GetCoins()
  1753.                   local returntable = {}
  1754.                   local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1755.                   for i,v in pairs(ListCoins) do
  1756.                       if Area == "All" or string.find(string.lower(v.a), string.lower(Area)) then
  1757.                           table.insert(returntable, i)
  1758.                       end
  1759.                   end
  1760.                   return returntable
  1761.                   end
  1762.                  
  1763.                       local cointhiny = GetCoins()
  1764.                       local getpet = GetMyPets()
  1765.                       for i = 1, #cointhiny do
  1766.                           coroutine.wrap(function()
  1767.                           pcall(function() FarmCoin(cointhiny[i], getpet[i%#getpet+1]) end)
  1768.                           end)()
  1769.                       end
  1770.               end)
  1771.           end
  1772.       end
  1773.   end)
  1774.  
  1775.                               function GetThePets540()
  1776.                                   local returntable = {}
  1777.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1778.                                       if v.ClassName == 'TextButton' and v.Equipped.Visible then
  1779.                                           table.insert(returntable, v.Name)
  1780.                                       end
  1781.                                   end
  1782.                                   return returntable
  1783.                                end
  1784.                          
  1785.                              
  1786.                               function FarmCoin2(CoinID, PetID)
  1787.                                   game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1788.                                   game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  1789.                                end
  1790.                          
  1791.                               local pethingy2 = GetThePets540()
  1792.  
  1793.   spawn(function()
  1794.       while task.wait(FarmingSpeed) do
  1795.       if SettingsTable.FarmNearest then
  1796.           pcall(function()
  1797.  
  1798.               local nearest
  1799.               local NearestOne = tonumber(SelDistacne) or 307
  1800.               for i,v in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetChildren()) do
  1801.                        if (v.POS.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < NearestOne then
  1802.                            nearest = v
  1803.                            NearestOne = (v.POS.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  1804.            end
  1805.        end
  1806.  
  1807.       local Cointhiny2 = nearest.Name
  1808.       for i = 1, #Cointhiny2 do
  1809.           coroutine.wrap(function()
  1810.          FarmCoin2(Cointhiny2, pethingy2[i%#pethingy2+1])
  1811.  
  1812.       end)()
  1813.   end
  1814.       end)
  1815.           end
  1816.       end
  1817.   end)
  1818.  
  1819.   spawn(function()
  1820.       while game:GetService("RunService").Heartbeat:wait(FarmingSpeed) do
  1821.           if SettingsTable.MultiTarget then
  1822.               pcall(function()
  1823.  
  1824.                   function FarmCoin(CoinID, PetID)
  1825.                       game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  1826.                       game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})                
  1827.                   end
  1828.  
  1829.                   function GetPet()
  1830.                       local Returntable = {}
  1831.                           for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  1832.                               if v.ClassName == "TextButton" and v.Equipped.Visible then
  1833.                                   table.insert(Returntable, v.Name)
  1834.                               end
  1835.                           end
  1836.                       return Returntable
  1837.                   end
  1838.  
  1839.                   local NearestCoin = tonumber(SelDistacne) or 307
  1840.                   function GetCoins()
  1841.                       local Returntable = {}
  1842.                       local Areas = (areaTable)
  1843.                       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  1844.                       for i,v in pairs(ListCoins) do
  1845.                           if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.p).Magnitude < NearestCoin then
  1846.                               local Coin = v
  1847.                               Coin["index"] = i
  1848.                               table.insert(Returntable, Coin)
  1849.                               NearestCoin = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.p).Magnitude
  1850.                           end
  1851.                       end
  1852.                       return Returntable
  1853.                   end
  1854.  
  1855.                   local petthingy = GetPet()
  1856.  
  1857.                   local cointhiny = GetCoins()
  1858.  
  1859.                   for i = 1, #cointhiny do
  1860.                       coroutine.wrap(function()
  1861.                           FarmCoin(cointhiny[i].index, petthingy[i%#petthingy+1])
  1862.                       end)()
  1863.                   end
  1864.               end)
  1865.           end
  1866.       end
  1867.      end)
  1868.  
  1869.      Autofarm:line()
  1870.  
  1871.   Autofarm:Toggle("Fast Farm", false, function(t)
  1872.       if t then
  1873.           getgenv().PromptGuioof:AddText("Fast Farm = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1874.       else
  1875.           getgenv().PromptGuioof:AddText("Fast Farm = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1876.       end
  1877.       fastoption = t
  1878.   end)
  1879.  
  1880.       Autofarm:line()
  1881.  
  1882.      Autofarm:Toggle("Fast AutoCollect Coins", false, function(t)
  1883.       if t then
  1884.           getgenv().PromptGuioof:AddText("AutoCollect Coins = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1885.       else
  1886.           getgenv().PromptGuioof:AddText("AutoCollect Coins = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1887.       end
  1888.       SettingsTable.FastColect = t
  1889.       while SettingsTable.FastColect do task.wait()
  1890.       pcall(function()
  1891.           local ohTable1 = {[1] = {}}
  1892.           for i,v in pairs(game.workspace['__THINGS'].Orbs:GetChildren()) do
  1893.               ohTable1[1][i] = v.Name
  1894.           end
  1895.           game.workspace['__THINGS']['__REMOTES']["claim orbs"]:FireServer(ohTable1)
  1896.  
  1897.       end)
  1898.   end
  1899.              end)
  1900.  
  1901.              Autofarm:Toggle('Auto Collect Loot Bags', false, function(t)
  1902.               if t then
  1903.                   getgenv().PromptGuioof:AddText("Collect Loot Bags = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1904.               else
  1905.                   getgenv().PromptGuioof:AddText("Collect Loot Bags = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1906.               end
  1907.               SettingsTable.LootBag = t
  1908.              end)
  1909.  
  1910.           spawn(function()
  1911.               while task.wait() do
  1912.                   if SettingsTable.LootBag then
  1913.                       pcall(function()
  1914.                           for i,v in pairs(game:GetService("Workspace")["__THINGS"].Lootbags:GetChildren()) do
  1915.                               if(v:GetAttribute("ReadyForCollection")) then
  1916.                                   if not v:GetAttribute("Collected") then
  1917.                                       getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.Game.Lootbags).Collect(v)
  1918.                                       v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1919.                                   end
  1920.                               end
  1921.                           end
  1922.                       end)
  1923.                   end
  1924.               end
  1925.           end)
  1926.      
  1927.      Autofarm:Toggle("Auto Redeam Rank Rewards", SettingsTable.RankRew, function(t)
  1928.                   if t then
  1929.                   getgenv().PromptGuioof:AddText("Redeam Rank Rewards = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1930.               else
  1931.                   getgenv().PromptGuioof:AddText("Redeam Rank Rewards = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  1932.               end
  1933.          SettingsTable.RankRew = t
  1934.                          while wait(.3) do
  1935.                              if SettingsTable.RankRew then
  1936.      
  1937.                               workspace.__THINGS.__REMOTES["redeem rank rewards"]:InvokeServer({})
  1938.   end
  1939.      end
  1940.      end)
  1941.      
  1942.      Autofarm:Toggle("Auto Use Triple Damage Boost", false, function(state)
  1943.          if state then
  1944.              function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  1945.      
  1946.      local args = {
  1947.          [1] = {
  1948.              [1] = "Triple Damage"
  1949.          }
  1950.      }
  1951.      
  1952.      workspace.__THINGS.__REMOTES:FindFirstChild("activate boost"):FireServer(unpack(args))
  1953.      
  1954.              getgenv().hahj = true;
  1955.              
  1956.              while wait(1200) do
  1957.                  if getgenv().hahj == true then
  1958.              function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  1959.      
  1960.      local args = {
  1961.          [1] = {
  1962.              [1] = "Triple Damage"
  1963.          }
  1964.      }
  1965.      
  1966.      workspace.__THINGS.__REMOTES:FindFirstChild("activate boost"):FireServer(unpack(args))
  1967.      
  1968.              end
  1969.              end
  1970.                  else
  1971.                      function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  1972.      
  1973.      local args = {
  1974.          [1] = {
  1975.              [1] = "Triple Damage"
  1976.          }
  1977.      }
  1978.      
  1979.      workspace.__THINGS.__REMOTES:FindFirstChild("activate boost"):FireServer(unpack(args))
  1980.      
  1981.                      getgenv().hahj = false;
  1982.                      
  1983.                      while wait(1200) do
  1984.                          if getgenv().hahj == true then
  1985.                      function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  1986.                      
  1987.      local args = {
  1988.          [1] = {
  1989.              [1] = "Triple Damage"
  1990.          }
  1991.      }
  1992.      
  1993.      workspace.__THINGS.__REMOTES:FindFirstChild("activate boost"):FireServer(unpack(args))
  1994.      
  1995.                      end
  1996.                      end
  1997.                  end
  1998.      end)
  1999.      
  2000.      Autofarm:Toggle("Auto Use Triple Coin Boost", false, function(state)
  2001.              if state then
  2002.               function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2003.  
  2004.               local args = {
  2005.                   [1] = {
  2006.                       [1] = "Triple Coins",
  2007.                   },
  2008.               }
  2009.              
  2010.               workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2011.               getgenv().hahj = true;
  2012.              
  2013.               while wait(1200) do
  2014.                   if getgenv().hahj == true then
  2015.               function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2016.              
  2017.               local args = {
  2018.                   [1] = {
  2019.                       [1] = "Triple Coins",
  2020.                   },
  2021.               }
  2022.              
  2023.               workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2024.               end
  2025.               end
  2026.                      else
  2027.                       function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2028.  
  2029.                       local args = {
  2030.                           [1] = {
  2031.                               [1] = "Triple Coins",
  2032.                           },
  2033.                       }
  2034.                      
  2035.                       workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2036.                       getgenv().hahj = false;
  2037.                      
  2038.                       while wait(1200) do
  2039.                           if getgenv().hahj == true then
  2040.                       function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2041.                      
  2042.                       local args = {
  2043.                           [1] = {
  2044.                               [1] = "Triple Coins",
  2045.                           },
  2046.                       }
  2047.                      
  2048.                       workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2049.                       end
  2050.                       end
  2051.                      end
  2052.          end)
  2053.  
  2054.          
  2055.          Autofarm:Button("FPSBoost", function()
  2056.              
  2057.              local decalsyeeted = true
  2058.          local g = game
  2059.          local w = g.Workspace
  2060.          local l = g.Lighting
  2061.          local t = w.Terrain
  2062.          t.WaterWaveSize = 0
  2063.          t.WaterWaveSpeed = 0
  2064.          t.WaterReflectance = 0
  2065.          t.WaterTransparency = 0
  2066.          l.GlobalShadows = false
  2067.          l.FogEnd = 9e9
  2068.          l.Brightness = 0
  2069.          settings().Rendering.QualityLevel = "Level01"
  2070.          for i, v in pairs(g:GetDescendants()) do
  2071.              if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  2072.                  v.Material = "Plastic"
  2073.                  v.Reflectance = 0
  2074.              elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
  2075.                  v.Transparency = 1
  2076.              elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  2077.                  v.Lifetime = NumberRange.new(0)
  2078.              elseif v:IsA("Explosion") then
  2079.                  v.BlastPressure = 1
  2080.                  v.BlastRadius = 1
  2081.              elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") then
  2082.                  v.Enabled = false
  2083.              elseif v:IsA("MeshPart") then
  2084.                  v.Material = "Plastic"
  2085.                  v.Reflectance = 0
  2086.                  v.TextureID = 10385902758728957
  2087.              end
  2088.          end
  2089.          for i, e in pairs(l:GetChildren()) do
  2090.              if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  2091.                  e.Enabled = false
  2092.              end
  2093.          end
  2094.          end)
  2095.  
  2096.  
  2097.          
  2098.          local EggTable = {'All'}
  2099.          for i,v in pairs(game.ReplicatedStorage.Game.Eggs:GetChildren()) do
  2100.              for i2,v2 in pairs(v:GetChildren()) do
  2101.                  table.insert(EggTable, v2.Name)
  2102.              end
  2103.          end
  2104.  
  2105.          local current = 0
  2106.          local EggCount = Eggs:Label("")
  2107.  
  2108.   local pathToScript = game.Players.LocalPlayer.PlayerScripts.Scripts.Game['Open Eggs']
  2109.   local oldFunc = getsenv(pathToScript).OpenEgg
  2110.      Eggs:Toggle("Remove egg opening animation", SettingsTable.RemEggAnimation, function(delanimation)
  2111.       if delanimation == true then
  2112.           getgenv().PromptGuioof:AddText("Remove egg opening animation = true", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  2113.           getsenv(pathToScript).OpenEgg = function() return end
  2114.       else
  2115.           getgenv().PromptGuioof:AddText("Remove egg opening animation = false", Enum.Font.Code, Color3.fromRGB(200, 200, 200))
  2116.           getsenv(pathToScript).OpenEgg = oldFunc
  2117.       end
  2118.   end)
  2119.  
  2120.          Eggs:Checklist("Select Egg", "SelEg", EggTable, function() return end)
  2121.  
  2122.          game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets.ChildAdded:Connect(function(child)
  2123.           if child.Name ~= "Empty" then
  2124.               current = current + 1
  2125.           end
  2126.       end)
  2127.  
  2128.       spawn(function()
  2129.           while task.wait() do
  2130.               pcall(function()
  2131.                   EggCount:Refresh("Eggs Opened: "..current)
  2132.               end)
  2133.           end
  2134.          end)
  2135.          
  2136.          Eggs:Toggle("Start Egg Open", false, function(startegss)
  2137.          start = startegss
  2138.          while start do task.wait()
  2139.           for i,v in pairs(check["SelEg"].Value) do
  2140.               if v == "All" then
  2141.                   for b,a in pairs(game.ReplicatedStorage.Game.Eggs:GetChildren()) do
  2142.                       for i2,v2 in pairs(a:GetChildren()) do
  2143.                           local args = {
  2144.                               [1] = {
  2145.                                   [1] = v2.Name,
  2146.                                   [2] = start2
  2147.                               }
  2148.                            }
  2149.                            workspace.__THINGS.__REMOTES:FindFirstChild("buy egg"):InvokeServer(unpack(args))
  2150.          
  2151.                       end
  2152.                   end          
  2153.               else
  2154.                   local args = {
  2155.                       [1] = {
  2156.                           [1] = v,
  2157.                           [2] = start2
  2158.                       }
  2159.                    }
  2160.                    workspace.__THINGS.__REMOTES:FindFirstChild("buy egg"):InvokeServer(unpack(args))
  2161.            
  2162.               end
  2163.           end
  2164.          end
  2165.          end)
  2166.  
  2167.          Eggs:Toggle("Triple Open Eggs (Gamepass Needed)", false, function(t)
  2168.             start2 = t
  2169.            end)
  2170.  
  2171.            Eggs:Toggle("Auto Open inv", false, function(t)
  2172.             open_5_min_inv = t
  2173.             while open_5_min_inv do task.wait()
  2174.                 game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Enabled = true
  2175.                 wait(.8)
  2176.                 game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Enabled = false
  2177.                 wait(Sel_Time_Open_Inv*60) -- this is 5 min
  2178.             end
  2179.         end)
  2180.        
  2181.         Eggs:Slider("Select Time (Auto Open Inv)", 1, 10, 2, function(v)
  2182.             Sel_Time_Open_Inv = v
  2183.         end)
  2184.      
  2185.   Eggs:line()
  2186.   Eggs:Toggle("Auto Use Super Luck!", false, function(v)
  2187.     function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2188.      UseSperLuck = v
  2189.      while UseSperLuck do task.wait()
  2190.     local args = {
  2191.         [1] = {
  2192.             [1] = "Super Lucky",
  2193.         },
  2194.     }
  2195.    
  2196.     workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2197.     task.wait(1199)
  2198.      end
  2199.     end)
  2200.    
  2201.     Eggs:Toggle("Auto Use ULTRA Luck!", false, function(v)
  2202.        function getNil(name,class) for _,v in pairs(getnilinstances())do if v.ClassName==class and v.Name==name then return v;end end end
  2203.         UseUltraLuck = v
  2204.         while UseUltraLuck do task.wait()
  2205.        local args = {
  2206.            [1] = {
  2207.                [1] = "Ultra Lucky",
  2208.            },
  2209.        }
  2210.        
  2211.        workspace["__THINGS"]["__REMOTES"]["activate boost"]:FireServer(unpack(args))
  2212.        task.wait(899)
  2213.         end
  2214.        end)
  2215.  
  2216.   Eggs:line()
  2217.   Eggs:Toggle("Auto Upgrade Pet Storage", false, function(t)
  2218.       getgenv().PetStorage = t
  2219.       while wait() do
  2220.           if getgenv().PetStorage == true then
  2221.       local args = {
  2222.           [1] = {
  2223.               [1] = "Pet Storage"
  2224.           }
  2225.       }
  2226.       workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2227.      
  2228.           end
  2229.       end
  2230.       end)
  2231.  
  2232.       Eggs:Toggle("Auto Upgrade walkspeed", false, function(t)
  2233.           getgenv().walkspeed = t
  2234.           while wait() do
  2235.               if getgenv().walkspeed == true then
  2236.  
  2237.   local args = {
  2238.       [1] = {
  2239.           [1] = "Player Walkspeed"
  2240.       }
  2241.   }
  2242.  
  2243.   workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2244.  
  2245.               end
  2246.           end
  2247.           end)
  2248.           Eggs:Toggle("Auto Upgrade Orbs Reach", false, function(t)
  2249.               getgenv().walksorbreachpeed = t
  2250.               while wait() do
  2251.                   if getgenv().orbreach == true then
  2252.      
  2253.   local args = {
  2254.       [1] = {
  2255.           [1] = "Orb Pickup Distance"
  2256.       }
  2257.   }
  2258.  
  2259.   workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2260.  
  2261.                   end
  2262.               end
  2263.               end)
  2264.               Eggs:Toggle("Auto Upgrade More Diamonds", false, function(t)
  2265.                   getgenv().morediamonds = t
  2266.                   while wait() do
  2267.                       if getgenv().morediamonds == true then
  2268.   local args = {
  2269.       [1] = {
  2270.           [1] = "More Diamonds"
  2271.       }
  2272.   }
  2273.  
  2274.   workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2275.  
  2276.                       end
  2277.                   end
  2278.                   end)
  2279.                   Eggs:Toggle("Auto Upgrade Pet Speed", false, function(t)
  2280.                       getgenv().PetWalkspeed = t
  2281.                       while wait() do
  2282.                           if getgenv().PetWalkspeed == true then
  2283.   local args = {
  2284.       [1] = {
  2285.           [1] = "Pet Walkspeed"
  2286.       }
  2287.   }
  2288.  
  2289.   workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2290.  
  2291.                           end
  2292.                       end
  2293.                       end)
  2294.                       Eggs:Toggle("Auto Upgrade Pet Strength", false, function(t)
  2295.                           getgenv().PetStrength = t
  2296.                           while wait() do
  2297.                               if getgenv().PetStrength == true then
  2298.  
  2299.   local args = {
  2300.       [1] = {
  2301.           [1] = "Pet Strength"
  2302.       }
  2303.   }
  2304.  
  2305.   workspace.__THINGS.__REMOTES:FindFirstChild("buy upgrade"):InvokeServer(unpack(args))
  2306.                               end
  2307.                           end
  2308.                           end)
  2309.  
  2310.  
  2311.  
  2312.   local Network = GameLibrary.Network
  2313.   local Run_Service = game:GetService("RunService")
  2314.   local rs = Run_Service.RenderStepped
  2315.   local IDToName = {}
  2316.   local NameToID = {}
  2317.   local PettoRarity = {}
  2318.   local RarityTable = {}
  2319.   local PetNamesTable = {}
  2320.   local PetNamesTable = {}
  2321.  
  2322.   local IDToName = {}
  2323.   local NameToID = {}
  2324.   for i,v in pairs(Library.Directory.Pets ) do
  2325.       IDToName[i] = v.name
  2326.       NameToID[v.name] = i
  2327.   end  
  2328.  
  2329.   function GetMyPets()
  2330.          local returntable = {}
  2331.          for i,v in pairs(GameLibrary.Save.Get().Pets) do
  2332.              if v.e then
  2333.                  table.insert(returntable, v.uid)
  2334.              end
  2335.          end
  2336.          return returntable
  2337.       end
  2338.  
  2339.  
  2340.  
  2341.   function GetPets()
  2342.       local MyPets = {}
  2343.       for i,v in pairs(GameLibrary.Save.Get().Pets) do
  2344.               local ThingyThingyTempTypeThing = (v.g and 'Gold') or (v.r and 'Rainbow') or (v.dm and 'Dark Matter') or 'Normal'
  2345.               local TempString = ThingyThingyTempTypeThing .. IDToName[v.id]
  2346.               if MyPets[TempString] then
  2347.                   table.insert(MyPets[TempString], v.uid)
  2348.               else
  2349.                   MyPets[TempString] = {}
  2350.                   table.insert(MyPets[TempString], v.uid)
  2351.               end
  2352.           end
  2353.       return MyPets
  2354.   end
  2355.  
  2356.   for i,v in pairs(GameLibrary.Directory.Pets) do
  2357.       IDToName[i] = v.name
  2358.       NameToID[v.name] = i
  2359.       PettoRarity[i] = v.rarity
  2360.       if not table.find(RarityTable, v.rarity) then
  2361.           table.insert(RarityTable, v.rarity)
  2362.       end
  2363.       table.insert(PetNamesTable, v.name)
  2364.   end
  2365.  
  2366.   pets2:Slider("Select pet amount", 0, 6, 1, function(countcombinefunc)
  2367.       if countcombinefunc then
  2368.           getgenv().CountCombineFunc1 = countcombinefunc
  2369.       end
  2370.       print("Selected Combine Count: ", getgenv().CountCombineFunc1)
  2371.   end)
  2372.  
  2373.  
  2374.  
  2375.   pets2:Toggle("Auto golden", false, function(togglegoldfunc)
  2376.      
  2377.   if togglegoldfunc == true then
  2378.       getgenv().ToggleGold = true
  2379.   elseif togglegoldfunc == false then
  2380.       getgenv().ToggleGold = false
  2381.   end
  2382.   end)
  2383.  
  2384.  
  2385.   pets2:Toggle("Auto rainbow", false, function(toggleraibowfunc)
  2386.      
  2387.   if toggleraibowfunc == true then
  2388.       getgenv().ToggleRainbow = true
  2389.   elseif toggleraibowfunc == false then
  2390.       getgenv().ToggleRainbow = false
  2391.   end
  2392.   end)
  2393.  
  2394.   pets2:Toggle("Enable Auto Golden / Rainbow", false, function(autocombinefunc)
  2395.      
  2396.       if autocombinefunc == true then
  2397.          getgenv().AutoCom = true
  2398.       elseif autocombinefunc == false then
  2399.           getgenv().AutoCom = false
  2400.       end
  2401.      
  2402.       while wait() and getgenv().AutoCom do
  2403.           for i, v in pairs(GetPets()) do
  2404.               if #v >= getgenv().CountCombineFunc1 and getgenv().AutoCom then
  2405.                   if string.find(i, "Normal") and getgenv().AutoCom and getgenv().ToggleGold then
  2406.                       local Args = {}
  2407.                       for eeeee = 1, getgenv().CountCombineFunc1 do
  2408.                           Args[#Args+1] = v[#Args+1]
  2409.                       end
  2410.                       Library.Network.Invoke("use golden machine", Args)
  2411.      
  2412.                   elseif string.find(i, "Gold") and getgenv().AutoCom and getgenv().ToggleRainbow then
  2413.                       local Args = {}
  2414.                       for eeeee = 1, getgenv().CountCombineFunc1 do
  2415.                           Args[#Args+1] = v[#Args+1]
  2416.                       end
  2417.                       Library.Network.Invoke("use rainbow machine", Args)
  2418.                   end
  2419.               end
  2420.           end
  2421.       end
  2422.      
  2423.       spawn(function()
  2424.           while wait() and getgenv().AutoCom do
  2425.               if not getgenv().ToggleGold and not getgenv().ToggleRainbow then
  2426.                   repeat wait(1) until getgenv().ToggleGold or getgenv().ToggleRainbow
  2427.               end
  2428.               if tonumber(getgenv().CountCombineFunc1) == nil then
  2429.                   repeat wait() until tonumber(getgenv().CountCombineFunc1) ~= nil
  2430.               end
  2431.               for i, v in pairs(GetPets()) do
  2432.                   if #v >= getgenv().CountCombineFunc1 and (getgenv().ToggleGold or getgenv().ToggleRainbow) then
  2433.                       if string.find(i, "Normal") and getgenv().ToggleGold then
  2434.                           local Args = {}
  2435.                           for eeeee = 1, getgenv().CountCombineFunc1 do
  2436.                               Args[#Args+1] = v[#Args+1]
  2437.                           end
  2438.                          GameLibrary.Network.Invoke("use golden machine", Args)
  2439.                      elseif string.find(i, "Gold") and getgenv().ToggleRainbow then
  2440.                           local Args = {}
  2441.                           for eeeee = 1, getgenv().CountCombineFunc1 do
  2442.                               Args[#Args+1] = v[#Args+1]
  2443.                          end
  2444.                       GameLibrary.Network.Invoke("use rainbow machine", Args)
  2445.                       end
  2446.                   end
  2447.               end
  2448.           end
  2449.       end)
  2450.       end)
  2451.  
  2452.  
  2453.       pets2:line()
  2454.  
  2455.     local FusePets_Table = {"All"}
  2456.     for i,v in pairs(Library.Directory.Pets) do
  2457.         table.insert(FusePets_Table, v.name)
  2458.     end
  2459.  
  2460.     pets2:Checklist("Select Pets Fuse", "selFusePet", FusePets_Table, function(t)
  2461.    
  2462.     end)
  2463.  
  2464. --   pets2:Textbox("Enter Pets Name", "Type Here", function(t)
  2465. --         FusePetsPetName = t
  2466. --   end)
  2467.  
  2468.   local TypeListFuse = {"Normal"; "Gold"; "Rainbow"; "Dark Matter";}
  2469.   pets2:Checklist("Pet Rarity Type of", "prto", TypeListFuse, function(t)
  2470.  
  2471.   end)
  2472.  
  2473.   pets2:Slider("Amount Of Pets To Fuse", 3, 12, 3, function(t)
  2474.     FusePetsAmmount = t
  2475.   end)
  2476.  
  2477.   pets2:Toggle("Auto Fuse", false, function(t)
  2478.     StartAutoFuse = t
  2479.   end)
  2480.  
  2481.   pets2:Toggle("Allow Hardcore Pets", false, function(t)
  2482.     AllowHCPetsFuse = t
  2483.   end)
  2484.  
  2485.   function hasenchant(tbl, value)
  2486.     for i,v in pairs(tbl) do
  2487.         if v == value then
  2488.             return true
  2489.         end
  2490.     end
  2491.     return false
  2492. end
  2493.  
  2494.   spawn(function()
  2495.     while task.wait() do
  2496.         if StartAutoFuse then
  2497.             pcall(function()
  2498.  
  2499.                
  2500.                 -- local petsammount = FusePetsAmmount
  2501.                 -- local PetId = -1
  2502.                
  2503.             for i2pog,v2pog in pairs(checklists["selFusePet"].Value) do
  2504.                 if v2pog == "All" then
  2505.                     local Library = require(game:GetService("ReplicatedStorage"):WaitForChild("Framework"):WaitForChild("Library"))
  2506.                     local NameID = {}
  2507.                     for i,v in pairs(Library.Directory.Pets) do
  2508.                         NameID[i] = v.name
  2509.                     end
  2510.                        
  2511.                    
  2512.                         local selectedpets = {}
  2513.                             for i,v in pairs(Library.Save.Get().Pets) do
  2514.                             local prarity = Library.PetCmds.Get(v.uid)
  2515.                                             local PetRaito = (v.g and 'Gold') or (v.r and 'Rainbow') or (v.dm and 'Dark Matter') or 'Normal'
  2516.                                             local PetRaito2 = (v.g) or (v.r) or (v.dm)
  2517.                                             local PetRaito3 = v.g or v.r or v.dm
  2518.                    
  2519.                                             local PetSting = PetRaito .. NameID[v.id]
  2520.                                             if selectedpets[PetSting] then
  2521.                                                 table.insert(selectedpets[PetSting], v.uid)
  2522.                                             else
  2523.                                                 selectedpets[PetSting] = {}
  2524.                                                 table.insert(selectedpets[PetSting], v.uid)
  2525.                                             end
  2526.                                 end
  2527.                    
  2528.                             -- local PetRaito = 'Gold' or 'Rainbow' or 'Dark Matter' or 'Normal'
  2529.                             local PP
  2530.                             for i2,v2 in pairs(selectedpets) do
  2531.                                 PP = {}
  2532.                                 if string.find(i2, "Rainbow") or string.find(i2, "Gold") or string.find(i2, "Dark Matter") or string.find(i2, "Normal") then
  2533.                                     for i = 1,FusePetsAmmount do
  2534.                                         PP[#PP+1] = v2[#PP+1]
  2535.                                     end
  2536.                                     if (#PP == FusePetsAmmount) then
  2537.                                         workspace.__THINGS.__REMOTES["fuse pets"]:InvokeServer({PP})
  2538.                                     end
  2539.                                     end
  2540.                             end
  2541.  
  2542.                 else
  2543.                     for i69,v69 in pairs(Library.Directory.Pets) do
  2544.                         if v2pog == v69.name then
  2545.                             local selectedpets = {}
  2546.                         for i,v in pairs(Library.Save.Get().Pets) do
  2547.                         local prarity = Library.PetCmds.Get(v.uid)
  2548.                             if not (#selectedpets == FusePetsAmmount) then
  2549.                                 if (v.id == (i69)) then
  2550.                                     for i2, v2 in pairs(checklists["prto"].Value) do
  2551.                                         if AllowHCPetsFuse then
  2552.                                             if (v2 == "Normal" and not prarity.r and not prarity.g and not prarity.dm and prarity.hc ) or (prarity.r and v2 == "Rainbow") or (prarity.g and v2 == "Gold") or (prarity.dm and v2 == "Dark Matter") then
  2553.                                                 table.insert(selectedpets, v.uid)
  2554.                                             end
  2555.                                         end
  2556.                                        
  2557.                                         if (v2 == "Normal" and not prarity.r and not prarity.g and not prarity.dm and not prarity.hc ) or (prarity.r and v2 == "Rainbow") or (prarity.g and v2 == "Gold") or (prarity.dm and v2 == "Dark Matter") then
  2558.                                             table.insert(selectedpets, v.uid)
  2559.                                         end
  2560.  
  2561.                                     end
  2562.                                     end
  2563.                                 end
  2564.                             end
  2565.                             if (#selectedpets == FusePetsAmmount) then
  2566.                                 workspace.__THINGS.__REMOTES["fuse pets"]:InvokeServer({selectedpets})
  2567.                             end
  2568.                             ---
  2569.                         end
  2570.                     end
  2571.                 end
  2572.             end
  2573.             end)
  2574.         end
  2575.     end
  2576.   end)
  2577.  
  2578.   pets2:line()
  2579.  
  2580.   pets2:Toggle("Auto Claim Dark Matter Pets", false, function(autoclaimdark)
  2581.  
  2582.   if autoclaimdark == true then
  2583.       _G.AutoClaimDarkMatter = true
  2584.   elseif autoclaimdark == false then
  2585.       _G.AutoClaimDarkMatter = false
  2586.   end
  2587.      
  2588.   spawn(function()
  2589.       while task.wait() and _G.AutoClaimDarkMatter do
  2590.           for i,v in pairs(GameLibrary.Save.Get().DarkMatterQueue) do
  2591.               if math.floor(v.readyTime - os.time()) < 0 then
  2592.                   workspace.__THINGS.__REMOTES["redeem dark matter pet"]:InvokeServer({[1] = i})
  2593.               end
  2594.               end
  2595.           task.wait(15)
  2596.       end
  2597.   end)
  2598.   end)
  2599.  
  2600.   pets2:line()
  2601.  
  2602.   pets2:Checklist("Select Pet DarkMatter", "selSPDmatter", FusePets_Table, function(t)
  2603.  
  2604.   end)
  2605.  
  2606.   pets2:Slider("Pet Amount DarkMatter",1, 6, 1, function(t)
  2607.     SelectDMAmount = t
  2608.   end)
  2609.  
  2610.   pets2:Toggle("Auto Convert DarkMatter", false, function(t)
  2611.     StartDarkMatterConverter = t
  2612.   end)
  2613.  
  2614.   spawn(function()
  2615.     while task.wait() do
  2616.         if StartDarkMatterConverter then
  2617.             pcall(function()
  2618.                 local PetsTable = {}
  2619.                 local PetId = -1
  2620.                
  2621.                 for i4, v4 in pairs(checklists["selSPDmatter"].Value) do
  2622.                 for i6,v6 in pairs(lib.Directory.Pets) do
  2623.                     if v4 == v6.name then
  2624.              
  2625.                 for i,v in pairs(lib.Save.Get().Pets) do
  2626.                     local prarity = lib.PetCmds.Get(v.uid)
  2627.                     if not (#PetsTable == (SelectDMAmount)) then
  2628.                         if v.id == i6 then
  2629.                             if prarity.r then
  2630.                                 table.insert(PetsTable, v.uid)
  2631.                             end
  2632.                         end
  2633.                     end
  2634.                 end
  2635.                 ---
  2636.               end
  2637.               end
  2638.               end
  2639.                
  2640.                 workspace.__THINGS.__REMOTES["convert to dark matter"]:InvokeServer({PetsTable})
  2641.             end)
  2642.         end
  2643.     end
  2644.   end)
  2645.  
  2646.  
  2647.  
  2648.  
  2649.   pets2:line()
  2650.  
  2651.  
  2652. --   local enchants = {
  2653. --       'Magnet',
  2654. --       'Royalty',
  2655. --       'Glittering',
  2656. --       'Tech Coins',
  2657. --       'Fantasy Coins',
  2658. --       'Rainbow Coins',
  2659. --       'Coins',
  2660. --       'Teamwork',
  2661. --       'Diamonds',
  2662. --       'Strength',
  2663. --       'Chests',
  2664. --       'Presents',
  2665. --       'Agility',
  2666. --       'Charm'
  2667. --   }
  2668.  
  2669. local enchantis = {}
  2670. for i,v in pairs(game:GetService("ReplicatedStorage").Directory.Powers:GetChildren()) do
  2671.     local powernames = string.gsub(v.Name, "Power -- ", "")
  2672.     table.insert(enchantis, powernames)
  2673. end
  2674.    
  2675.    
  2676.  
  2677.    pets2:Toggle("Start Enchanting", false, function(t)
  2678.       StartChant = t
  2679.   end)
  2680.  
  2681. local enchants = {
  2682.     'Magnet',
  2683.     'Royalty',
  2684.     'Glittering',
  2685.     'Tech Coins',
  2686.     'Fantasy Coins',
  2687.     'Rainbow Coins',
  2688.     'Coins',
  2689.     'Teamwork',
  2690.     'Diamonds',
  2691.     'Strength',
  2692.     'Chests',
  2693.     'Presents',
  2694.     'Agility',
  2695.     'Charm',
  2696. }
  2697.  
  2698. pets2:Dropdown("Select Enchant", enchantis, function(t)
  2699.   PowerName = t
  2700. end)
  2701.  
  2702. pets2:Slider("Select Enchant Level", 1, 6, 1, function(t)
  2703.   PowerLevel = t
  2704. end)
  2705.  
  2706. -- pets2:Toggle("Target Hardcore Pets (Enchant)", false, function(t)
  2707. --     TargetHCPets = t
  2708. -- end)
  2709.  
  2710.  
  2711.  
  2712. function hasInput(tbl, value)
  2713.   for i,v in pairs(tbl) do
  2714.       if v == value then
  2715.           return true
  2716.       end
  2717.   end
  2718.   return false
  2719. end
  2720.  
  2721. function hasValue(tbl, value)
  2722.   for i,v in pairs(tbl) do
  2723.       if i == value then
  2724.           return true
  2725.       end
  2726.   end
  2727. return false
  2728. end
  2729.  
  2730. spawn(function()
  2731.   while task.wait() do
  2732.       if StartChant then
  2733.           pcall(function()
  2734.               if PowerName == "Royalty" or PowerName == "Magnet" or PowerName == "Charm" or PowerName == "Teamwork" or PowerName == "Glittering" then
  2735.               for i,v in pairs(lib.Save.Get().Pets) do
  2736.                   local getpvalue = lib.PetCmds.Get(v.uid)
  2737.                   if getpvalue.e then
  2738.                       if hasValue(getpvalue, "powers") then
  2739.                       for i2,v2 in pairs(getpvalue.powers) do
  2740.                           if hasInput(v2, PowerName)  then
  2741.                           else
  2742.                               workspace.__THINGS.__REMOTES["enchant pet"]:InvokeServer({v.uid})
  2743.                           end
  2744.                       end
  2745.                       else
  2746.                           workspace.__THINGS.__REMOTES["enchant pet"]:InvokeServer({v.uid})
  2747.                       end
  2748.                   end
  2749.               end
  2750.               else
  2751.               for i,v in pairs(lib.Save.Get().Pets) do
  2752.                   local getpvalue = lib.PetCmds.Get(v.uid)
  2753.                   if getpvalue.e then
  2754.                       if hasValue(getpvalue, "powers") then
  2755.                       for i2,v2 in pairs(getpvalue.powers) do
  2756.                           if hasInput(v2, PowerLevel) and hasInput(v2, PowerName)  then --hasInput(v, "Strength") and
  2757.                           else
  2758.                               workspace.__THINGS.__REMOTES["enchant pet"]:InvokeServer({v.uid})
  2759.                           end
  2760.                       end
  2761.                       else
  2762.                           workspace.__THINGS.__REMOTES["enchant pet"]:InvokeServer({v.uid})
  2763.                       end
  2764.                   end
  2765.               end
  2766.               end
  2767.           end)
  2768.       end
  2769.   end
  2770. end)
  2771.  
  2772.  
  2773. pets2:line()
  2774.  
  2775.    pets2:Textbox("Enter New Pet Name", "", function(t)
  2776.     selpname = t
  2777.    end)
  2778.  
  2779.    pets2:Button("Rename All Pets (ONLY CLICK ONCE!)", function()
  2780.     spawn(function()
  2781.         pcall(function()
  2782.             getgenv().UwU:Notify("System", "Renaming Pets \n please be patient!")
  2783.         end)
  2784.     end)
  2785.  
  2786.     for i,v in pairs(Library.Save.Get().Pets) do
  2787.         if v.nk ~= selpname then
  2788.             -- print(v.uid)
  2789.             local scriptEnvironment = getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.GUIs.Rename)
  2790.             scriptEnvironment.Rename(v.uid, selpname)
  2791.             task.wait(.87)
  2792.         end
  2793.     end
  2794.    end)
  2795.  
  2796.    local v1 = {};
  2797.    for i,v in pairs(Library.Directory.Pets) do
  2798.     for i,v in pairs(v) do
  2799.         if i == "name" then
  2800.             table.insert(v1, v)
  2801.         end
  2802.     end
  2803. end
  2804.  
  2805.   Visuals:Dropdown("Select Pet", v1, function(petname)
  2806.   PetNamehere = petname
  2807.   end)
  2808.  
  2809.   Visuals:Button("Open Pet", function()
  2810.       function HatchEgg(Pet)
  2811.           local pet = Pet
  2812.           for i,v in pairs(game.ReplicatedStorage.Game.Pets:GetChildren()) do
  2813.               if string.split(tostring(v), ' - ')[2] == pet then
  2814.                   pet = string.split(tostring(v), ' - ')[1]
  2815.               end
  2816.           end
  2817.           local tbl = {
  2818.               {
  2819.               nk = 'Preston',
  2820.               idt = '69',
  2821.               e = false,
  2822.               uid = '69',
  2823.               s = 999999999999,
  2824.               id = pet,
  2825.           }}
  2826.           local egg
  2827.           for i_,script in pairs(game.ReplicatedStorage.Game.Eggs:GetDescendants()) do
  2828.               if script:IsA('ModuleScript') then
  2829.                   if typeof(require(script).drops) == 'table' then
  2830.                       for i,v in pairs(require(script).drops) do
  2831.                           if v[1] == pet then
  2832.                               egg = require(script).displayName
  2833.                           end
  2834.                       end
  2835.                   end
  2836.               end
  2837.           end
  2838.           if Pet == 'Huge Cat' then egg = 'Cracked Egg' end
  2839.           for i,v in pairs(getgc(true)) do
  2840.               if (typeof(v) == 'table' and rawget(v, 'OpenEgg')) then
  2841.                   v.OpenEgg(egg, tbl)
  2842.               end
  2843.           end
  2844.        end
  2845.        HatchEgg(PetNamehere)
  2846.   end)
  2847.  
  2848.  
  2849.   Visuals:Button("Visual Dupe Gems", function()
  2850.       function comma_value(amount)
  2851.         local formatted = amount
  2852.        while true do  
  2853.           formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  2854.           if (k == 0) then
  2855.             break
  2856.           end
  2857.         end
  2858.         return formatted
  2859.       end
  2860.  
  2861.       local diamonds = game.Players.LocalPlayer.PlayerGui.Main.Right.Diamonds.Amount
  2862.       local old = diamonds.Text
  2863.       local oldNumber = string.gsub(old, ",", "")
  2864.       local newNumber = oldNumber * 10000
  2865.       local new = comma_value(newNumber)
  2866.       local newString = tostring(new)
  2867.       diamonds.Text = newString
  2868.       end)
  2869.  
  2870.       Visuals:Button("Make all your Pets Huge Santa", function()
  2871.           for i,v in pairs(game:GetService("Workspace")["__THINGS"].Pets:GetChildren()) do
  2872.               v.Mesh.MeshId = "rbxassetid://8211668957"
  2873.               v.Mesh.TextureId = "rbxassetid://8211668593"
  2874.               v.Mesh.Scale = Vector3.new(2, 2, 2)
  2875.           end
  2876.       end)
  2877.  
  2878.       Visuals:Toggle("Get Coin Bonus (Fake!)", false, function(t)
  2879.           StartBonus = t
  2880.          end)
  2881.  
  2882.          spawn(function()
  2883.           while task.wait() do
  2884.               if StartBonus then
  2885.                   pcall(function()
  2886.                       local ohVector31 = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  2887.                       game:GetService("ReplicatedStorage").Framework.Modules["2 | Network"]["coin bonus"]:Fire(ohVector31)
  2888.                   end)
  2889.               end
  2890.           end
  2891.          end)
  2892.  
  2893.          Visuals:Toggle("Spawn LootBags (Fake!)", false, function(t)
  2894.           FakeLootbag = t
  2895.          end)
  2896.  
  2897.          spawn(function()
  2898.           while task.wait() do
  2899.               if FakeLootbag then
  2900.                   pcall(function()
  2901.                       local ohString1 = "ce6e120a0c304567be950939b7a574c8"
  2902.                       local ohTable2 = {
  2903.                           ["type"] = "Good",
  2904.                           ["claimed"] = false,
  2905.                           ["position"] = game.Players.LocalPlayer.Character.HumanoidRootPart.Position,
  2906.                           ["world"] = "Pixel",
  2907.                           ["player"] = game:GetService("Players").LocalPlayer,
  2908.                           ["reward"] = {
  2909.                               [1] = "Coins",
  2910.                               [2] = 5008984,
  2911.                               [3] = "Rainbow Coins"
  2912.                           }
  2913.                       }
  2914.                       game:GetService("ReplicatedStorage").Framework.Modules["2 | Network"]["spawn lootbag"]:Fire(ohString1, ohTable2)
  2915.                   end)
  2916.               end
  2917.           end
  2918.          end)
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.       Credits:Button("LeadMarker#1219 & Karma#9368", function()
  2925.           setclipboard("https://discord.gg/97anmxFpkU")
  2926.       end)
  2927.      
  2928.       Credits:Button("Mana#9724 & Septex#9788 (he is very hot)", function()
  2929.           setclipboard("https://discord.gg/97anmxFpkU")
  2930.       end)
  2931.      
  2932.       Credits:Button("UI Designer: Luke Marcus#4347", function()
  2933.           setclipboard("https://discord.gg/97anmxFpkU")
  2934.       end)
  2935.      
  2936.       Credits:Button("Project Meow Discord Server", function()
  2937.           setclipboard("https://discord.gg/97anmxFpkU")
  2938.               local req = (syn and syn.request) or (http and http.request) or http_request
  2939.               if req then
  2940.                   req({
  2941.                       Url = 'http://127.0.0.1:6463/rpc?v=1',
  2942.                       Method = 'POST',
  2943.                       Headers = {
  2944.                           ['Content-Type'] = 'application/json',
  2945.                           Origin = 'https://discord.com'
  2946.                       },
  2947.                       Body = game:GetService('HttpService'):JSONEncode({
  2948.                           cmd = 'INVITE_BROWSER',
  2949.                           nonce = game:GetService('HttpService'):GenerateGUID(false),
  2950.                           args = {code = '97anmxFpkU'}
  2951.                       })
  2952.                   })
  2953.               end
  2954.       end)
  2955.      
  2956.       Credits:line()
  2957.      
  2958.  
  2959.      
  2960.       Credits:Button("Save Settings", function()
  2961.         savesettings()
  2962.       end)
  2963.      
  2964.       Credits:Button("Load Settings", function()
  2965.         loadsettings()
  2966.       end)
  2967.      
  2968.       Credits:line()
  2969.       Credits:Button("Destroy Gui", function()
  2970.           game.CoreGui:FindFirstChild("Mana"):Destroy()
  2971.       end)
  2972.      
  2973.       Credits:Button("Rejoin", function()
  2974.           local ts = game:GetService("TeleportService")
  2975.           local p = game:GetService("Players").LocalPlayer
  2976.           ts:Teleport(game.PlaceId, p)
  2977.       end)
  2978.  
  2979.       Credits:line()
  2980.  
  2981.       UIlib:setTheme(Credits)
  2982.  
  2983.       -- for i,v in pairs(game:GetService("ReplicatedStorage").Game.Coins:GetChildren()) do
  2984.       --     for i2,v2 in pairs(v:GetChildren()) do
  2985.       --         OldFarm:Toggle(v2.Name, false, function(t)
  2986.  
  2987.       --         end)
  2988.       --     end
  2989.       -- end
  2990.  
  2991.       OldFarm:Label("This Farm Will Always Auto Update!")
  2992.  
  2993.       -- OldFarm:Toggle("Send All Pets", false, function(t)
  2994.       --     send_All_Pets = t
  2995.       -- end)
  2996.  
  2997.       send_All_Pets = false
  2998.  
  2999.       OldFarm:line()
  3000.      
  3001.  
  3002.  
  3003.       for i,imaegg in pairs(game:GetService("ReplicatedStorage").Game.Coins:GetChildren()) do
  3004.           for nu,hwe in pairs(imaegg:GetChildren()) do
  3005.               OldFarm:Toggle(hwe.Name, false, function(t)
  3006.                   StartOldFarm = t
  3007.                   while StartOldFarm do task.wait()
  3008.                       if send_All_Pets then
  3009.                           function FarmCoin(CoinID, PetID)
  3010.                               game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  3011.                               game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  3012.                           end
  3013.                                    
  3014.                               function GetMyPets()
  3015.                               local returntable = {}
  3016.                               for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  3017.                                   if v.ClassName == 'TextButton' and v.Equipped.Visible then
  3018.                                       table.insert(returntable, v.Name)
  3019.                                   end
  3020.                               end
  3021.                               return returntable
  3022.                               end
  3023.                              
  3024.                       function GetCoins()
  3025.                       local returntable = {}
  3026.                       local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  3027.                       for i,v in pairs(ListCoins) do
  3028.                           if string.find(string.lower(v.a), string.lower(hwe.Name)) then
  3029.                               table.insert(returntable, i)
  3030.                           end
  3031.                       end
  3032.                       return returntable
  3033.                       end
  3034.                      
  3035.                           local cointhiny = GetCoins()
  3036.                           local getpet = GetMyPets()
  3037.                           for i = 1, #cointhiny do
  3038.                               coroutine.wrap(function()
  3039.                                   FarmCoin(cointhiny[i].index, getpet[1])
  3040.                                   FarmCoin(cointhiny[i].index, getpet[2])
  3041.                                   FarmCoin(cointhiny[i].index, getpet[3])
  3042.                                   FarmCoin(cointhiny[i].index, getpet[4])
  3043.                                   FarmCoin(cointhiny[i].index, getpet[5])
  3044.                                   FarmCoin(cointhiny[i].index, getpet[6])
  3045.                                   FarmCoin(cointhiny[i].index, getpet[7])
  3046.                                   FarmCoin(cointhiny[i].index, getpet[8])
  3047.                                   FarmCoin(cointhiny[i].index, getpet[9])
  3048.                                   FarmCoin(cointhiny[i].index, getpet[10])
  3049.                                   FarmCoin(cointhiny[i].index, getpet[11])
  3050.                                   FarmCoin(cointhiny[i].index, getpet[12])
  3051.                                   FarmCoin(cointhiny[i].index, getpet[13])
  3052.                                   FarmCoin(cointhiny[i].index, getpet[14])
  3053.                                   FarmCoin(cointhiny[i].index, getpet[15])
  3054.                                   FarmCoin(cointhiny[i].index, getpet[16])
  3055.                                   FarmCoin(cointhiny[i].index, getpet[17])
  3056.                                   FarmCoin(cointhiny[i].index, getpet[18])
  3057.                                   FarmCoin(cointhiny[i].index, getpet[19])
  3058.                                   FarmCoin(cointhiny[i].index, getpet[20])
  3059.                                   FarmCoin(cointhiny[i].index, getpet[21])
  3060.                                   FarmCoin(cointhiny[i].index, getpet[22])
  3061.                               end)()
  3062.                           end
  3063.                       else
  3064.                           pcall(function()
  3065.                               function FarmCoin(CoinID, PetID)
  3066.                                   game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  3067.                                   game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  3068.                               end
  3069.                                        
  3070.                                   function GetMyPets()
  3071.                                   local returntable = {}
  3072.                                   for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  3073.                                       if v.ClassName == 'TextButton' and v.Equipped.Visible then
  3074.                                           table.insert(returntable, v.Name)
  3075.                                       end
  3076.                                   end
  3077.                                   return returntable
  3078.                                   end
  3079.                                  
  3080.                           function GetCoins()
  3081.                           local returntable = {}
  3082.                           local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  3083.                           for i,v in pairs(ListCoins) do
  3084.                               if string.find(string.lower(v.a), string.lower(hwe.Name)) then
  3085.                                   table.insert(returntable, i)
  3086.                               end
  3087.                           end
  3088.                           return returntable
  3089.                           end
  3090.                          
  3091.                               local cointhiny = GetCoins()
  3092.                               local getpet = GetMyPets()
  3093.                               for i = 1, #cointhiny do
  3094.                                   coroutine.wrap(function()
  3095.                                       pcall(function() FarmCoin(cointhiny[i], getpet[i%#getpet+1]) end)
  3096.                                       task.wait(.3)
  3097.                                   end)()
  3098.                               end
  3099.                          
  3100.                           end)
  3101.                       end
  3102.                   end
  3103.               end)
  3104.           end
  3105.       end
  3106.  
  3107.  
  3108.       WebHook:Textbox("Paste Webhook URL", "here!", function(t)
  3109.         getgenv().Webhook = t
  3110.       end)
  3111.  
  3112.     --   WebHook:line()
  3113.  
  3114.     --   WebHook:Toggle("Track Basic", false, function(t)
  3115.     --     BasicWebHook = t
  3116.     --   end)
  3117.  
  3118.     --   WebHook:Toggle("Track Rare", false, function(t)
  3119.     --     RareWebHook = t
  3120.     --   end)
  3121.  
  3122.     --   WebHook:Toggle("Track Epic", false, function(t)
  3123.     --     EpicWebHook = t
  3124.     --   end)
  3125.  
  3126.     --   WebHook:Toggle("Track Legendary", false, function(t)
  3127.     --     LegendaryWebHook = t
  3128.     --   end)
  3129.  
  3130.     --   WebHook:Toggle("Track Mythical", false, function(t)
  3131.     --     MythicalWebHook = t
  3132.     --   end)
  3133.  
  3134.     --   WebHook:Toggle("Track Exclusive", false, function(t)
  3135.     --     ExclusiveWebHook = t
  3136.     --   end)
  3137.  
  3138.       WebHook:line()
  3139.  
  3140.       WebHook:Toggle("Start Tracking", false, function(t)
  3141.         StartWebhookTracking = t
  3142.       end)
  3143.  
  3144. getgenv().TrackList = {
  3145.    ['Basic'] = false or BasicWebHook;
  3146.    ['Rare'] = false or RareWebHook;
  3147.    ['Epic'] = true or EpicWebHook;
  3148.    ['Legendary'] = true or LegendaryWebHook;
  3149.    ['Mythical'] = true or MythicalWebHook;
  3150.    ['Exclusive'] = true or ExclusiveWebHook;
  3151. }
  3152.  
  3153.  
  3154.  
  3155.  
  3156.     repeat wait() until game:GetService("Players")
  3157.     repeat wait() until game:GetService("Players").LocalPlayer
  3158.     repeat wait() until game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("Loading"):WaitForChild("Black").BackgroundTransparency == 1
  3159.     repeat wait() until game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  3160.  
  3161.  
  3162.     local IDToName = {}
  3163.     local PettoRarity = {}
  3164.     for i,v in pairs(Library.Directory.Pets) do
  3165.      IDToName[i] = v.name
  3166.      PettoRarity[i] = v.rarity
  3167.     end
  3168.    
  3169.     function GetThumbnail(id, type)
  3170.      local nailname = (type == 'Normal' or type == 'Rainbow' and 'thumbnail') or (type == 'Gold' and 'goldenThumbnail') or (type == 'Dark Matter' and 'darkMatterThumbnail')
  3171.      local eeee = Library.Directory.Pets[tostring(id)][nailname] or Library.Directory.Pets[tostring(id)]["thumbnail"]
  3172.      local AssetID = eeee:gsub("rbxassetid%:%/%/", "")
  3173.      local Link = "https://www.roblox.com/item-thumbnails?params=[{assetId:"..AssetID.."}]"
  3174.          local Response = game:GetService("HttpService"):JSONDecode(game:HttpGet(Link))
  3175.      return Response[1].thumbnailUrl
  3176.     end
  3177.    
  3178.     function Send(Name, Nickname, Strength, Rarity, Thumbnail, Formation, Color, NewPowers, nth)
  3179.         local Webhook = getgenv().Webhook
  3180.         local msg = {
  3181.             ["username"] = "Project Meow Tracker",
  3182.             ["Icon"] = "https://cdn.discordapp.com/attachments/703598582154002502/1001963172028219473/download.jpg",
  3183.             ["embeds"] = {
  3184.                 {
  3185.                     ["color"] = tonumber(tostring("0x" .. Color)), --decimal
  3186.                     ["title"] = "*" .. Rarity .. "* " .. Name,
  3187.                     ["thumbnail"] = {
  3188.                         ["url"] = Thumbnail
  3189.                     },
  3190.                     ["fields"] = {
  3191.                         {
  3192.                             ["name"] = "Nickname",
  3193.                             ["value"] = Nickname,
  3194.                             ["inline"] = true
  3195.                         },
  3196.                         {
  3197.                             ["name"] = "Formation",
  3198.                             ["value"] = Formation,
  3199.                             ["inline"] = true
  3200.                         },
  3201.                         {
  3202.                             ["name"] = "Strength",
  3203.                             ["value"] = Strength,
  3204.                             ["inline"] = true
  3205.                         },
  3206.                     },
  3207.                     ["author"] = {},
  3208.                     ['timestamp'] = os.date("%Y-%m-%dT%X.000Z"),
  3209.                 }
  3210.             }
  3211.         }
  3212.         for qq,bb in pairs(NewPowers) do
  3213.             local thingy = {
  3214.                 ["name"] = "Enchantment "..tostring(qq),
  3215.                 ["value"] = bb,
  3216.                 ["inline"] = true
  3217.             }
  3218.             table.insert(msg["embeds"][1]["fields"], thingy)
  3219.         end
  3220.         request = http_request or request or HttpPost or syn.request
  3221.         request({Url = Webhook, Method = "POST", Headers = {["Content-Type"] = "application/json"}, Body = game.HttpService:JSONEncode(msg)})
  3222.     end
  3223.    
  3224.     function SendWebhook(uid)
  3225.     for i,v in pairs(Library.Save.Get().Pets) do
  3226.          if v.uid == uid and getgenv().TrackList[PettoRarity[v.id]] then
  3227.              local ThingyThingyTempTypeThing = (v.g and 'Gold') or (v.r and 'Rainbow') or (v.dm and 'Dark Matter') or 'Normal'
  3228.              local Formation = (v.g and ':crown: Gold') or (v.r and ':rainbow: Rainbow') or (v.dm and ':milky_way: Dark Matter') or ':roll_of_paper: Normal'
  3229.              local Thumbnail = GetThumbnail(v.id, ThingyThingyTempTypeThing)
  3230.              local Name = IDToName[v.id]
  3231.              local Nickname = v.nk
  3232.              local nth = v.idt
  3233.              local Strength = v.s
  3234.              local Powers = v.powers or {}
  3235.              local Rarity = PettoRarity[v.id]
  3236.              local Color = (Rarity == 'Exclusive' and "e676ff") or (Rarity == 'Mythical' and "ff8c00") or (Rarity == 'Legendary' and "ff45f6") or (Rarity == 'Epic' and "ffea47") or (Rarity == 'Rare' and "42ff5e") or (Rarity == 'Basic' and "b0b0b0")
  3237.              local NewPowers = {}
  3238.              for a,b in pairs(Powers) do
  3239.                  local eeeeeeee = tostring(b[1] .. " " .. b[2])
  3240.                  table.insert(NewPowers, eeeeeeee)
  3241.              end
  3242.              Send(Name, Nickname, Library.Functions.Commas(Strength), Rarity, Thumbnail, Formation, Color, NewPowers, nth)
  3243.          end
  3244.      end
  3245.     end
  3246.    
  3247.     if getgenv().Connection then getgenv().Connection:Disconnect() end
  3248.     getgenv().Connection = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets.ChildAdded:Connect(function(child)
  3249.         if StartWebhookTracking then
  3250.         SendWebhook(child.Name)
  3251.         end
  3252.     end)