Eating Simulator Script | AUTOFARM

Created by cheems0420

Features:

local a=game:GetService("Players").LocalPlayer;local b=game:GetService("UserInputService")local c=true;local d=Color3.fromRGB(26,150,24)local e=Color3.fromRGB(150,6,6)local f="F"local g=Enum.KeyCode[f]local h=false;local i="Enabled"local j="Not enabled"local k=false;local l=Instance.new("ScreenGui")l.Name="AutofarmGUI"l.Parent=game:GetService("CoreGui")l.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;local m=Instance.new("TextLabel")m.Name="InfoLabel"m.Parent=l;m.BackgroundColor3=Color3.fromRGB(255,255,255)m.BackgroundTransparency=1.000;m.BorderSizePixel=0;m.Size=UDim2.new(0,163,0,13)m.Font=Enum.Font.SourceSans;m.Text="Press ["..f.."] to toggle autofarm"m.TextColor3=d;m.TextSize=14.000;m.TextXAlignment=Enum.TextXAlignment.Left;local n=Instance.new("TextLabel")n.Name="CreditsLabel"n.Parent=l;n.BackgroundColor3=Color3.fromRGB(255,255,255)n.BackgroundTransparency=1.000;n.BorderSizePixel=0;n.Position=UDim2.new(0,0,0.0285400674,0)n.Size=UDim2.new(0,163,0,13)n.Font=Enum.Font.SourceSans;n.Text="Made by cheems0420"n.TextColor3=e;n.TextSize=14.000;n.TextXAlignment=Enum.TextXAlignment.Left;local o=Instance.new("TextLabel")o.Name="ToggledLabel"o.Parent=l;o.BackgroundColor3=Color3.fromRGB(255,255,255)o.BackgroundTransparency=1.000;o.BorderSizePixel=0;o.Position=UDim2.new(0,0,0.0142700328,0)o.Size=UDim2.new(0,163,0,13)o.Font=Enum.Font.SourceSans;o.Text="Not enabled"o.TextColor3=e;o.TextSize=14.000;o.TextXAlignment=Enum.TextXAlignment.Left;function UpdateGui()if h then o.Text=i;o.TextColor3=d else o.Text=j;o.TextColor3=e end end;UpdateGui()local function p(q,r)if b:IsKeyDown(g)then if h then h=false else h=true end;UpdateGui()end end;b.InputBegan:Connect(p)function EquipTool()local s=false;for t,u in pairs(a.Character:GetChildren())do if u.Name=="swing"and u.ClassName=="Tool"then s=true end end;if s==false then a.Character.Humanoid:EquipTool(a:WaitForChild("Backpack"):WaitForChild("swing"))end end;function Eat()a.Character.swing:Activate()end;function Sell()a.Character.HumanoidRootPart.CFrame=CFrame.new(0,0,0)wait(0)a.Character.HumanoidRootPart.CFrame=game:GetService("Workspace").SellTeleports.Home.CFrame end;function UpgradeDNA()game:GetService("ReplicatedStorage").Knit.Services.ShopService.RE.buyAll:FireServer("DNA")end;function UpgradeBats()game:GetService("ReplicatedStorage").Knit.Services.ShopService.RE.buyAll:FireServer("Bats")end;while true and wait()do if h then if c then if k then UpgradeBats()UpgradeDNA()k=false else UpgradeDNA()UpgradeBats()k=true end end;EquipTool()Eat()Sell()end end