local v0=string.char;local v1=string.byte;local v2=string.sub;local v3=bit32 or bit ;local v4=v3.bxor;local v5=table.concat;local v6=table.insert;local function v7(v113,v114) local v115={};for v171=1, #v113 do v6(v115,v0(v4(v1(v2(v113,v171,v171 + 1 )),v1(v2(v114,1 + (v171% #v114) ,1 + (v171% #v114) + 1 )))%256 ));end return v5(v115);end local v8=game:GetService("Players");local v9=v8.LocalPlayer;local v10=game:GetService(v7("\249\215\207\53\213\190\213\8\216\192\222","\126\177\163\187\69\134\219\167"));local v11=(gethui and gethui()) or game:GetService(v7("\0\194\56\192\219\54\196","\156\67\173\74\165")) ;local v12=game:GetService(v7("\0\178\69\19\172\41\84\32\132\76\4\170\47\69\49","\38\84\215\41\118\220\70"));local v13=game:GetService(v7("\116\19\32\0\247\67","\158\48\118\66\114"));local v14=game:GetService(v7("\159\51\21\51\125\150\254\185\50\25\53\118","\155\203\68\112\86\19\197"));local v15=game:GetService(v7("\106\212\49\244\84\113\235\255","\152\38\189\86\156\32\24\133"));local function v16(v116,v117) v117=v117 or 3 ;local v118=Instance.new(v7("\207\84\181\67\249\89\128\83\245","\38\156\55\199"));v118.Name=v7("\134\114\104\33\21\125\249\66\188\116\115\38\52\97\243","\35\200\29\28\72\115\20\154");v118.ResetOnSpawn=false;v118.Parent=v11;local v122=Instance.new(v7("\63\173\208\210\136","\84\121\223\177\191\237\76"),v118);v122.Size=UDim2.new(0,300,0,50);v122.Position=UDim2.new(0.5, -150,0.1,0);v122.BackgroundColor3=Color3.fromRGB(15,15,15);v122.BackgroundTransparency=0.5;v122.BorderSizePixel=0;local v128=Instance.new(v7("\142\127\234\175\40\94\53\211","\161\219\54\169\192\90\48\80"),v122);v128.CornerRadius=UDim.new(0,10);local v130=Instance.new(v7("\125\71\24\49\101\67\2\32\69","\69\41\34\96"),v122);v130.Size=UDim2.new(1,0,1,0);v130.Text=v116;v130.TextColor3=Color3.fromRGB(255,255,0);v130.BackgroundTransparency=1;v130.Font=Enum.Font.GothamBold;v130.TextSize=20;task.spawn(function() task.wait(v117);v118:Destroy();end);end getgenv().FarmHubStats=getgenv().FarmHubStats or {[v7("\143\215\214\24\22\31\181\206\210","\75\220\163\183\106\98")]=v7("\35\170\153\62\213\66\234\222\123\153\80\234\217\98\153\79\250\218\102\131\86\237\203\22\244","\185\98\218\235\87"),[v7("\236\51\43\226\251\171\217\50\34\226","\202\171\92\71\134\190")]=0,[v7("\27\212\34\171\38\212\34\156","\232\73\161\76")]=0,[v7("\158\193\71\94\11\175\214\80","\126\219\185\34\61")]=(identifyexecutor and identifyexecutor()) or v7("\57\192\85\124\113\96\253","\135\108\174\62\18\30\23\147") } ;getgenv().AutoFarm=getgenv().AutoFarm or {[v7("\147\231\43\201\20\171\55","\167\214\137\74\171\120\206\83")]=true,TeleportDelay=1,HopDelay=10,ServerHop=false} ;local v19=v7("\173\241\32\80\208\178\137","\199\235\144\82\61\152");local v20=v19 .. "/Sessions.json" ;if ( not isfolder or not makefolder or not writefile) then warn(v7("\62\25\172\57\71\19\161\59\11\25\176\63\71\18\182\46\20\86\183\36\19\86\170\62\23\6\182\57\19\86\191\34\11\19\170\50\20\2\188\38\71\16\172\37\4\2\176\36\9\5\226\107\11\25\190\44\14\24\190\107\10\23\160\107\1\23\176\39\73","\75\103\118\217"));elseif not isfolder(v19) then makefolder(v19);end local function v21() if ( not writefile or not readfile) then return;end local v138=getgenv().FarmHubStats;local v139=v8.LocalPlayer;local v140={};if (isfile and isfile(v20)) then local v180,v181=pcall(function() return v10:JSONDecode(readfile(v20));end);if (v180 and (type(v181)=="table")) then v140=v181;end end local v141={[v7("\242\71\117\6\144\26","\126\167\52\16\116\217")]=v139.UserId,Username=v139.DisplayName or v139.Name ,[v7("\237\54\37\131\161\13\243\218","\156\168\78\64\224\212\121")]=v138.Executor,GameId=game.PlaceId,[v7("\52\250\164\220\19\218\172\195\2","\174\103\142\197")]=v138.StartTime,[v7("\115\38\91\12\44\83\253","\152\54\72\63\88\69\62")]=os.date("%B %d, %Y - %I:%M %p"),[v7("\243\203\226\88\241\197\252\82\209\192","\60\180\164\142")]=v138.GoldEarned,[v7("\106\75\11\58\4\226\31\72\82\0\61\34\233","\114\56\62\101\73\71\141")]=v138.RunCount};table.insert(v140,v141);local v142=v10:JSONEncode(v140);v142=v142:gsub("},{","},\n {");writefile(v20,"[\n " .. v142:sub(2, -2) .. "\n]" );end local function v22(v143) local v144=Instance.new(v7("\136\232\201\208","\164\216\137\187"));v144.Size=Vector3.new(10,1,10);v144.Anchored=true;v144.CanCollide=true;v144.Transparency=0.3;v144.Position=v143-Vector3.new(0,3.5,0) ;v144.BrickColor=BrickColor.new(v7("\252\227\38\242\159\251\7\222\227\35","\107\178\134\81\210\198\158"));v144.Parent=workspace;v13:AddItem(v144,10);end local function v23(v152) local v153=v9.Character and v9.Character:FindFirstChild("HumanoidRootPart") ;if (v153 and v152 and firetouchinterest) then local v182=v152.CFrame + Vector3.new(0,3,0) ;local v183=TweenInfo.new(1.1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out);local v184=v14:Create(v153,v183,{[v7("\27\40\144\199\167\61","\202\88\110\226\166")]=v182});v184:Play();v184.Completed:Wait();v22(v152.Position + Vector3.new(0,3,0) );firetouchinterest(v153,v152,0);firetouchinterest(v153,v152,1);end end local function v24() local v154={};local v155,v156=pcall(function() return v10:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/" .. game.PlaceId .. v7("\140\28\135\229\220\198\29\145\184\250\214\13\142\254\201\156\28\141\229\222\236\29\134\242\216\158\46\145\244\140\207\6\143\254\222\158\94\210\167","\170\163\111\226\151") ));end);if (v155 and v156 and v156.data) then for v186,v187 in ipairs(v156.data) do if ((v187.playing0) then v16("Server hopping...",3);v12:TeleportToPlaceInstance(game.PlaceId,v154[math.random(1, #v154)],v9);end end local function v25() repeat task.wait();until workspace:FindFirstChild(v7("\51\63\179\44\125\35\40\22\53\161","\73\113\80\210\88\46\87")) local v157=workspace.BoatStages:WaitForChild("NormalStages");for v172=1,10 do if not getgenv().AutoFarm.Enabled then return;end local v173=v157:FindFirstChild("CaveStage" .. v172 );if (v173 and v173:FindFirstChild("DarknessPart")) then v23(v173.DarknessPart);task.wait(getgenv().AutoFarm.TeleportDelay);end end local v158=v157:FindFirstChild("TheEnd");if (v158 and v158:FindFirstChild(v7("\166\35\193\22\226\143\15\197\23\244\149","\135\225\76\173\114"))) then local v185=v158.GoldenChest:FindFirstChild(v7("\46\255\177\183\171\184\181","\199\122\141\216\208\204\221"));if v185 then v23(v185);getgenv().FarmHubStats.RunCount+=1 v21();v16("Chest touched. Waiting 15 seconds...",3);task.wait(15);if getgenv().AutoFarm.ServerHop then v24();end end end end task.spawn(function() local v159=v9:WaitForChild("Data"):WaitForChild(v7("\138\210\28\244","\150\205\189\112\144\24"));local v160=v159.Value;v159:GetPropertyChangedSignal(v7("\19\133\179\89\1","\112\69\228\223\44\100\232\113")):Connect(function() local v174=v159.Value-v160 ;if (v174>0) then getgenv().FarmHubStats.GoldEarned+=v174 v21();end v160=v159.Value;end);end);local v26=Instance.new("ScreenGui");v26.Name=v7("\242\30\21\222\158\105\132","\230\180\127\103\179\214\28");v26.ResetOnSpawn=false;v26.Parent=v11;local v30=Instance.new(v7("\170\23\94\75\225","\128\236\101\63\38\132\33"));v30.Size=UDim2.new(0,300,0,180);v30.Position=UDim2.new(0,25,0,100);v30.BackgroundColor3=Color3.fromRGB(15,15,15);v30.Active=true;v30.Draggable=true;v30.Parent=v26;local v37=Instance.new("UICorner");v37.CornerRadius=UDim.new(0,10);v37.Parent=v30;local v40=Instance.new(v7("\153\128\34\80\164\228\196\169","\175\204\201\113\36\214\139"));v40.Color=Color3.fromRGB(255,255,0);v40.Parent=v30;local v43=Instance.new(v7("\115\201\45\200\40\70\206\48\208","\100\39\172\85\188"));v43.Size=UDim2.new(1,0,0,30);v43.Text="🌾 FarmHub - BABFT";v43.TextColor3=Color3.fromRGB(255,255,0);v43.Font=Enum.Font.GothamBold;v43.TextSize=16;v43.BackgroundTransparency=1;v43.Parent=v30;local v52=Instance.new("Frame");v52.Position=UDim2.new(0,10,0,40);v52.Size=UDim2.new(0,60,0,30);v52.BackgroundColor3=Color3.fromRGB(40,40,40);v52.Parent=v30;local v57=Instance.new("UICorner");v57.CornerRadius=UDim.new(0,14);v57.Parent=v52;local v60=Instance.new("UIStroke");v60.Color=Color3.fromRGB(255,255,0);v60.Parent=v52;local v63=Instance.new("Frame");v63.Name="ToggleKnob";v63.Size=UDim2.new(0,26,0,26);v63.Position=UDim2.new(1, -28,0,2);v63.BackgroundColor3=Color3.fromRGB(0,255,0);v63.Parent=v52;local v69=Instance.new(v7("\152\81\154\143\33\163\125\171","\83\205\24\217\224"));v69.CornerRadius=UDim.new(1,0);v69.Parent=v63;local v72=Instance.new("TextLabel");v72.Name="ToggleLabel";v72.Size=UDim2.new(1,80,1,0);v72.Position=UDim2.new(1,10,0,0);v72.Text=v7("\199\208\217\50\192\196\223\48\188\133\226\19","\93\134\165\173");v72.TextColor3=Color3.fromRGB(0,255,0);v72.Font=Enum.Font.Gotham;v72.TextSize=14;v72.BackgroundTransparency=1;v72.TextXAlignment=Enum.TextXAlignment.Left;v72.Parent=v52;local function v85(v161) getgenv().AutoFarm.Enabled=v161;v72.Text=(v161 and v7("\159\231\213\205\28\207\160\115\228\178\238\236","\30\222\146\161\162\90\174\210")) or "AutoFarm: OFF" ;v72.TextColor3=(v161 and Color3.fromRGB(0,255,0)) or Color3.fromRGB(255,0,0) ;v14:Create(v63,TweenInfo.new(0.25),{Position=(v161 and UDim2.new(1, -28,0,2)) or UDim2.new(0,2,0,2) ,[v7("\199\79\115\1\226\92\127\31\235\74\83\5\233\65\98\89","\106\133\46\16")]=(v161 and Color3.fromRGB(0,255,0)) or Color3.fromRGB(255,0,0) }):Play();v16(v7("\121\53\103\243\124\65\74\45\51","\32\56\64\19\156\58") .. ((v161 and v7("\95\198\228\84\86\247\132","\224\58\168\133\54\58\146")) or "disabled") ,2);end v52.InputBegan:Connect(function(v165) if (v165.UserInputType==Enum.UserInputType.MouseButton1) then v85( not getgenv().AutoFarm.Enabled);end end);local v86=v52:Clone();v86.Position=UDim2.new(0,10,0,80);v86.Parent=v30;local v89=v86:FindFirstChild("ToggleKnob");local v90=v86:FindFirstChild(v7("\109\89\76\250\121\131\171\10\91\83\71","\107\57\54\43\157\21\230\231"));v90.Text=v7("\232\142\3\227\188\206\143\243\132\1\175\249\243\225","\175\187\235\113\149\217\188");local function v92(v166) getgenv().AutoFarm.ServerHop=v166;v90.Text=(v166 and v7("\15\170\147\90\230\107\56\20\160\145\22\163\86\86","\24\92\207\225\44\131\25")) or v7("\120\214\170\90\30\111\11\251\183\92\65\61\100\245\158","\29\43\179\216\44\123") ;v90.TextColor3=(v166 and Color3.fromRGB(0,255,0)) or Color3.fromRGB(255,0,0) ;v14:Create(v89,TweenInfo.new(0.25),{[v7("\141\214\51\69\169\208\47\66","\44\221\185\64")]=(v166 and UDim2.new(1, -28,0,2)) or UDim2.new(0,2,0,2) ,BackgroundColor3=(v166 and Color3.fromRGB(0,255,0)) or Color3.fromRGB(255,0,0) }):Play();v16("Server Hop " .. ((v166 and "enabled") or v7("\5\238\91\94\113\13\226\76","\19\97\135\40\63")) ,2);end v86.InputBegan:Connect(function(v170) if (v170.UserInputType==Enum.UserInputType.MouseButton1) then v92( not getgenv().AutoFarm.ServerHop);end end);local v93=Instance.new(v7("\154\89\43\47\3\48\172\89\63","\81\206\60\83\91\79"));v93.Position=UDim2.new(0,10,0,120);v93.Size=UDim2.new(1, -20,0,20);v93.Text="📁 Logging to: FarmHub/Sessions.json";v93.TextColor3=Color3.fromRGB(255,255,255);v93.TextSize=13;v93.Font=Enum.Font.Gotham;v93.BackgroundTransparency=1;v93.TextWrapped=true;v93.Parent=v30;local v103=Instance.new("TextLabel");v103.Position=UDim2.new(0,10,0,140);v103.Size=UDim2.new(1, -20,0,20);v103.Text="💡 Tip: Put this script in autoexecute to AFK farm forever!";v103.TextColor3=Color3.fromRGB(255,255,100);v103.TextSize=12;v103.Font=Enum.Font.Gotham;v103.BackgroundTransparency=1;v103.TextWrapped=true;v103.Parent=v30;v85(getgenv().AutoFarm.Enabled);v92(getgenv().AutoFarm.ServerHop);task.spawn(function() while true do if getgenv().AutoFarm.Enabled then v25();end task.wait(1);end end);task.spawn(function() while true do if getgenv().AutoFarm.Enabled then local v188=v9.Character;local v189=v188 and v188:FindFirstChild("HumanoidRootPart") ;if v189 then v189.CFrame=v189.CFrame * CFrame.Angles(0,math.rad(5),0) ;end end task.wait(0.1);end end);task.spawn(function() while true do v15.Ambient=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255));v15.OutdoorAmbient=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255));v15.ColorShift_Bottom=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255));v15.ColorShift_Top=Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255));task.wait(0.5);end end);v16("FarmHub Loaded!",3);