local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local leaderstats = player:WaitForChild("leaderstats") local strength = leaderstats:WaitForChild("Strength") local rebirths = leaderstats:WaitForChild("Rebirths") local remotes = ReplicatedStorage:WaitForChild("rEvents") local liftRemote = remotes:WaitForChild("muscleEvent") local rebirthRemote = remotes:WaitForChild("rebirthRemote") local petEquipRemote = remotes:WaitForChild("PetEquip") local petsFolder = player:WaitForChild("Pets") local jungleGymCFrame = CFrame.new(-295, 19, 1075) local deadliftCFrame = CFrame.new(-290, 15, 1080) local autoFarmEnabled = false local lastRebirths = 0 local farmingCoroutine = nil local function teleportTo(cf) if humanoidRootPart then humanoidRootPart.CFrame = cf end end local function equipPetsOfType(petType) local equippedCount = 0 for _, pet in pairs(petsFolder:GetChildren()) do if (pet.Name == petType or (pet:FindFirstChild("PetType") and pet.PetType.Value == petType)) and equippedCount < 8 then pcall(function() petEquipRemote:FireServer(pet) end) equippedCount = equippedCount + 1 wait(0.1) end end end local function unequipAllPets() for i = 1, 8 do pcall(function() petEquipRemote:FireServer(nil, i) end) wait(0.05) end end local function doDeadlift() teleportTo(deadliftCFrame) wait(0.2) pcall(function() liftRemote:FireServer("Deadlift") end) end local function tryRebirth() local prevRebirths = rebirths.Value pcall(function() rebirthRemote:InvokeServer() end) wait(1) return rebirths.Value > prevRebirths end local function startAutoFarm() if farmingCoroutine then return end lastRebirths = rebirths.Value unequipAllPets() equipPetsOfType("Swift Samurai") teleportTo(jungleGymCFrame) farmingCoroutine = coroutine.create(function() while autoFarmEnabled do doDeadlift() wait(0.01) if tick() % 30 < 0.1 then if tryRebirth() then unequipAllPets() equipPetsOfType("Tribal Overlord") wait(2) unequipAllPets() equipPetsOfType("Swift Samurai") teleportTo(jungleGymCFrame) lastRebirths = rebirths.Value end end end end) coroutine.resume(farmingCoroutine) end local function stopAutoFarm() autoFarmEnabled = false if farmingCoroutine then coroutine.close(farmingCoroutine) farmingCoroutine = nil end end local screenGui = Instance.new("ScreenGui") screenGui.Name = "MuscleAutoFarm" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 320, 0, 280) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -140) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 12) mainCorner.Parent = mainFrame local mainStroke = Instance.new("UIStroke") mainStroke.Color = Color3.fromRGB(100, 100, 120) mainStroke.Thickness = 1 mainStroke.Parent = mainFrame local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(50, 50, 70)), ColorSequenceKeypoint.new(1, Color3.fromRGB(25, 25, 40)) } gradient.Rotation = 45 gradient.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 50) title.BackgroundTransparency = 1 title.Text = "💪 Muscle Legends Auto" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Parent = mainFrame local tabFrame = Instance.new("Frame") tabFrame.Size = UDim2.new(1, 0, 0, 40) tabFrame.Position = UDim2.new(0, 0, 0, 50) tabFrame.BackgroundTransparency = 1 tabFrame.Parent = mainFrame local tabLayout = Instance.new("UIListLayout") tabLayout.FillDirection = Enum.FillDirection.Horizontal tabLayout.Padding = UDim.new(0, 5) tabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center tabLayout.Parent = tabFrame local farmTabBtn = Instance.new("TextButton") farmTabBtn.Size = UDim2.new(0.48, -5, 1, 0) farmTabBtn.BackgroundColor3 = Color3.fromRGB(60, 120, 255) farmTabBtn.Text = "Auto Farm" farmTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) farmTabBtn.TextScaled = true farmTabBtn.Font = Enum.Font.GothamSemibold farmTabBtn.Parent = tabFrame local farmCorner = Instance.new("UICorner") farmCorner.CornerRadius = UDim.new(0, 8) farmCorner.Parent = farmTabBtn local menuTabBtn = Instance.new("TextButton") menuTabBtn.Size = UDim2.new(0.48, 0, 1, 0) menuTabBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 90) menuTabBtn.Text = "Menu" menuTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) menuTabBtn.TextScaled = true menuTabBtn.Font = Enum.Font.GothamSemibold menuTabBtn.Parent = tabFrame local menuCorner = Instance.new("UICorner") menuCorner.CornerRadius = UDim.new(0, 8) menuCorner.Parent = menuTabBtn local farmContent = Instance.new("Frame") farmContent.Size = UDim2.new(1, -20, 1, -100) farmContent.Position = UDim2.new(0, 10, 0, 95) farmContent.BackgroundTransparency = 1 farmContent.Visible = true farmContent.Parent = mainFrame local menuContent = Instance.new("Frame") menuContent.Size = UDim2.new(1, -20, 1, -100) menuContent.Position = UDim2.new(0, 10, 0, 95) menuContent.BackgroundTransparency = 1 menuContent.Visible = false menuContent.Parent = mainFrame local contentLayout = Instance.new("UIListLayout") contentLayout.Padding = UDim.new(0, 10) contentLayout.VerticalAlignment = Enum.VerticalAlignment.Center contentLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center contentLayout.Parent = farmContent local farmToggle = Instance.new("TextButton") farmToggle.Size = UDim2.new(1, 0, 0, 50) farmToggle.BackgroundColor3 = Color3.fromRGB(220, 50, 50) farmToggle.Text = "AUTO FARM: OFF" farmToggle.TextColor3 = Color3.fromRGB(255, 255, 255) farmToggle.TextScaled = true farmToggle.Font = Enum.Font.GothamBold farmToggle.Parent = farmContent local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(0, 10) toggleCorner.Parent = farmToggle local menuInfo = Instance.new("TextLabel") menuInfo.Size = UDim2.new(1, 0, 1, 0) menuInfo.BackgroundTransparency = 1 menuInfo.Text = "Muscle Legends Auto Farm Script\n\n• Auto equips Swift Samurai\n• Teleports to Jungle Gym\n• Farms Deadlifts ultra-fast\n• Auto detects rebirth ready\n• Switches to Tribal Overlords for rebirth\n• Loops infinitely\n\nPaste into Delta/Synapse/Krnl\nAdjust remotes/CFrames if updated." menuInfo.TextColor3 = Color3.fromRGB(200, 200, 220) menuInfo.TextScaled = true menuInfo.Font = Enum.Font.Gotham menuInfo.TextWrapped = true menuInfo.Parent = menuContent local function switchTab(tabName) farmContent.Visible = (tabName == "farm") menuContent.Visible = (tabName == "menu") farmTabBtn.BackgroundColor3 = (tabName == "farm") and Color3.fromRGB(60, 120, 255) or Color3.fromRGB(80, 80, 90) menuTabBtn.BackgroundColor3 = (tabName == "menu") and Color3.fromRGB(60, 120, 255) or Color3.fromRGB(80, 80, 90) end farmTabBtn.MouseButton1Click:Connect(function() switchTab("farm") end) menuTabBtn.MouseButton1Click:Connect(function() switchTab("menu") end) farmToggle.MouseButton1Click:Connect(function() autoFarmEnabled = not autoFarmEnabled farmToggle.Text = "AUTO FARM: " .. (autoFarmEnabled and "ON" or "OFF") farmToggle.BackgroundColor3 = autoFarmEnabled and Color3.fromRGB(50, 220, 50) or Color3.fromRGB(220, 50, 50) if autoFarmEnabled then startAutoFarm() else stopAutoFarm() end end) player.CharacterAdded:Connect(function(newChar) character = newChar humanoidRootPart = character:WaitForChild("HumanoidRootPart") humanoid = character:WaitForChild("Humanoid") end) print("Muscle Auto Farm Loaded - Switch tabs & toggle ON!")