Autofarm
getgenv().settings={ ["click"]=false, ["rebirth"]=false, ["quests"]=false, ["equipBest"]=false, ["gift"]=false, ["combine"]=false, ["upgradeJump"]=false, ["egg"]=false } local selectedEgg function tap() spawn(function() while wait() do if not getgenv().settings["click"] then break end mouse1click() end end) end local args = { [1] = "Earth Elemental Dog" } game:GetService("ReplicatedStorage").Events.Client.purchaseRebirthShopItem:FireServer(unpack(args)) local args = { [1] = "Rebirths" } game:GetService("ReplicatedStorage").Events.Client.claimChestReward:InvokeServer(unpack(args)) game:GetService("ReplicatedStorage").Events.Client.getMaxDoubleJumps:InvokeServer() function upgradeJump() spawn(function() while wait() do if not getgenv().settings["upgradeJump"] then break end local args = { [1] = "Lobby" } game:GetService("ReplicatedStorage").Events.Client.upgrades.upgradeDoubleJump:FireServer(unpack(args)) end end) end local eggType function buyPets(eggType) spawn(function() while wait() do if not getgenv().settings["egg"] then break end local args = { [1] = eggType, [2] = false, [3] = false } game:GetService("ReplicatedStorage").Events.Client.purchaseEgg:InvokeServer(unpack(args)) end end) end function gifts() spawn(function() while wait() do if not getgenv().settings["gift"] then break end game:GetService("ReplicatedStorage").Events.Client.collectGifts:FireServer() end end) end function equipPets() spawn(function() while wait() do if not getgenv().settings["equipBest"] then break end game:GetService("ReplicatedStorage").Events.Client.petsTools.equipBest:FireServer() end end) end function autoCraft() spawn(function() while wait() do if not getgenv().settings["combine"] then break end game:GetService("ReplicatedStorage").Events.Client.petsTools.massCombine:FireServer() end end) end --REBIRTH local rebirthAmount function rebirth(rebirthAmount) spawn(function() local args = { [1] = rebirthAmount, [2] = false, [3] = false } end) end game:GetService("ReplicatedStorage").Events.Client.requestRebirth:FireServer(unpack(args)) --TELEPORT function teleportTO(placeCFrame) local player = game.Players.LocalPlayer if player.Character then player.Character.HumanoidRootPart.CFrame=placeCFrame end end function teleportWorld(Zones) if game:GetService("Workspace").Zones:FindFirstChild(Zones) then teleportTO(game:GetService("Workspace").Zones[Zones].teleport.CFrame) end end ------------------------------------------------------------------------------QUESTS function questsA() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "A" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsB() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "B" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsC() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "C" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsD() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "D" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsE() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "E" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsF() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "F" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsG() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "G" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsH() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "H" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsI() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "I" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsJ() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "J" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsK() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "K" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsL() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "L" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsM() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "M" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end function questsN() spawn(function() while wait() do if not getgenv().settings["quests"] then break end local args = { [1] = "N" } game:GetService("ReplicatedStorage").Events.Client.claimQuest:FireServer(unpack(args)) end end) end local library = loadstring(game:GetObjects("rbxassetid://7657867786")[1].Source)() local Wait = library.subs.Wait -- Only returns if the GUI has not been terminated. For 'while Wait() do' loops local PepsisWorld = library:CreateWindow({ Name = "Pepsi's World", Themeable = { Info = "Discord Server: VzYTJ7Y" } }) local GeneralTab = PepsisWorld:CreateTab({ Name = "General" }) local FarmingSection = GeneralTab:CreateSection({ Name = "Autofarm" }) local PetSection = GeneralTab:CreateSection({ Name = "Pets" }) local Other = GeneralTab:CreateSection({ Name = "Misc" }) FarmingSection:AddToggle({ Name = "Auto Click (Broken)", Callback=function(bool) getgenv().settings["click"]=bool if bool then tap() end end, Keybind = { Mode= "Dynamic" } }) local args = { [1] = "Add 50 rebirths button" } game:GetService("ReplicatedStorage").Events.Client.purchaseRebirthShopItem:FireServer(unpack(args)) FarmingSection:AddDropdown({ Name = "Auto rebirth amount", List = {1,5,10,50,250,1000,5000,25000,125000,500000,3000000,15000000,50000000,250000000,1000000000,5000000000,25000000000,50000000000,150000000000,750000000000}, Callback=function(value) rebirthAmount=value print(value) end }) FarmingSection:AddToggle({ Name = "Auto claim achievements", Callback = function(bool) getgenv().settings["quests"]=bool if bool then questsA() questsB() questsC() questsD() questsE() questsF() questsG() questsH() questsI() questsJ() questsK() questsL() questsM() questsN() end end }) PetSection:AddDropdown({ Name="Egg to purchase", List = {"Basic", "Earth", "Sun god", "Lava Dragon", "Treasure", "Space Guardian", "Treeland", "Ice Cream", "Frozen Arctic", "Flame Overlord", "Atlantis", "Tropical", "Bee"}, Callback=function(value) selectedEgg=value print(value) end }) PetSection:AddToggle({ Name="Auto buy egg", Callback=function(bool) if selectedEgg then getgenv().settings["egg"]=bool if bool then buyPets() end end end }) PetSection:AddToggle({ Name = "Auto craft pets", Callback = function(bool) getgenv().settings["combine"]=bool if bool then autoCraft() end end }) PetSection:AddToggle({ Name = "Auto equip best pets", Callback = function(bool) getgenv().settings["equipBest"]=bool if bool then equipPets() end end }) Other:AddToggle({ Name = "Auto collect gifts", Callback = function(bool) getgenv().settings["gift"]=bool if bool then gifts() end end }) local selectedZone Other:AddDropdown({ Name = "Zone to teleport", List = {'Sky','Ice','Lava','Pirate',' Space','Forest', 'Candyland', 'Atlantis', 'Tropical', 'Bee'}, Callback=function(value) selectedZone=value print(value) end }) Other:AddButton({ Name = "Teleport", Callback=function() if selectedZone then teleportWorld(selectedZone) end end }) local args = { [1] = "2" } game:GetService("ReplicatedStorage").Events.Client.purchaseZone:FireServer(unpack(args)) local args = { [1] = "Clicks" } game:GetService("ReplicatedStorage").Events.Client.claimChestReward:InvokeServer(unpack(args)) local args = { [1] = "Rebirths" } game:GetService("ReplicatedStorage").Events.Client.claimChestReward:InvokeServer(unpack(args))