hi pls choose me
Key Required

hi pls choose me

🎃 Muscle Legends marysoe2024marysoe2024 837 views 824 executesUpdated Aug 4, 2026
Unrated
00
Lua Script•1235 lines (45310 chars)
loadstring(game:HttpGet("YOUR_COPIED_PASTEBIN_RAW_URL_HERE"))()
-- Note: Update the path if the rock name or location differs in your game instance
local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")

-- Function to handle the glitch punch looplocal plr = game.Players.LocalPlayer
local remote = game:GetService("ReplicatedStorage").RemoteEvent -- update to actual remote name

-- Simple auto-train loop example
while true do
    remote:FireServer("trainAction") -- replace with actual arguments
    task.wait(0.1)
end
game:GetService("Players").LocalPlayer.Idled:Connect(function()
    game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    task.wait(1)
    game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
end)
-- Configuration variables
local _G = _G or {}
_G.AutoGlitch = true -- Toggle to turn the glitch loop on/off

-- Core Services
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local localPlayer = players.LocalPlayer

-- Define the target rock location (Example: Muscle King Mountain Rock)
local function startGlitchLoop()
    while _G.AutoGlitch do
        -- 1. Ensure the player stays teleported to the rock's position
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        
        -- 2. Fire the game's punching remote event to hit the rock
        -- Replace "punchRemoteName" with the actual name discovered via your explorer tool
        local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") 
        if punchRemote then
            punchRemote:FireServer("punchAction", "Rock") -- Replace with exact game arguments
        end
        
        -- 3. Yield to prevent the game from freezing/crashing
        task.wait(0.01) 
    end
end

-- Run the glitch loop in a separate thread so it doesn't block the rest of your script
task.spawn(startGlitchLoop)
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends Automation", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MuscleLegendsConfig"
})

-- Create a Tab for farming features
local MainTab = Window:MakeTab({
    Name = "Auto Farm",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

-- Global variable to track the toggle state
_G.AutoGlitch = false

-- Function containing the loop logic
local function runGlitchLoop()
    local players = game:GetService("Players")
    local replicatedStorage = game:GetService("ReplicatedStorage")
    local localPlayer = players.LocalPlayer
    
    -- Target rock pathing
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") -- Change to actual remote name

    while _G.AutoGlitch do
        -- Teleport character safely to the rock
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        
        -- Fire the remote event to punch
        if punchRemote then
            punchRemote:FireServer("punchAction", "Rock")
        end
        
        task.wait(0.01) -- Loop speed delimiter
    end
end

-- Add the visual Toggle Button to the UI Tab
MainTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(Value)
        _G.AutoGlitch = Value -- Value is true when turned on, false when turned off
        
        if _G.AutoGlitch then
            -- Spawn the loop in the background so the UI doesn't freeze
            task.spawn(runGlitchLoop)
        end
    end    
})

-- Initialize the UI window
OrionLib:Init()
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends Premium Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MuscleLegendsConfig"
})

-- Create Tabs to organize features
local MainTab = Window:MakeTab({
    Name = "Auto Farm",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

local PlayerTab = Window:MakeTab({
    Name = "Player Mods",
    Icon = "rbxassetid://4483345998",
    PremiumOnly = false
})

-- Global loop toggles
_G.AutoGlitch = false
_G.AutoRebirth = false

-- Core game references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local localPlayer = players.LocalPlayer

-- 1. GLITCH PET LOOP FUNCTION
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") -- Replace with actual remote name

    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then
            punchRemote:FireServer("punchAction", "Rock")
        end
        task.wait(0.01)
    end
end

-- 2. AUTO-REBIRTH LOOP FUNCTION
local function runRebirthLoop()
    -- Common remote name pattern for rebirths in Muscle Legends
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")

    while _G.AutoRebirth do
        if rebirthRemote then
            rebirthRemote:FireServer("rebirthRequest") -- Replace with actual remote argument if needed
        end
        task.wait(1) -- Safety delay to prevent spam disconnects
    end
end

-- ========================================================
-- FARM TAB COMPONENTS
-- ========================================================

-- Glitch Pet Toggle
MainTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(Value)
        _G.AutoGlitch = Value
        if _G.AutoGlitch then
            task.spawn(runGlitchLoop)
        end
    end    
})

-- Auto Rebirth Toggle
MainTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(Value)
        _G.AutoRebirth = Value
        if _G.AutoRebirth then
            task.spawn(runRebirthLoop)
        end
    end    
})

-- ========================================================
-- PLAYER MODS TAB COMPONENTS
-- ========================================================

-- WalkSpeed Slider
PlayerTab:AddSlider({
    Name = "Custom WalkSpeed",
    Min = 16,
    Max = 500,
    Default = 16,
    Color = Color3.fromRGB(255,255,255),
    Increment = 1,
    ValueName = "Speed",
    Callback = function(Value)
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            localPlayer.Character.Humanoid.WalkSpeed = Value
        end
    end    
})

-- JumpPower Slider
PlayerTab:AddSlider({
    Name = "Custom JumpPower",
    Min = 50,
    Max = 500,
    Default = 50,
    Color = Color3.fromRGB(255,255,255),
    Increment = 1,
    ValueName = "Power",
    Callback = function(Value)
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            -- Enables manual control over JumpPower adjustments
            localPlayer.Character.Humanoid.UseJumpPower = true
            localPlayer.Character.Humanoid.JumpPower = Value
        end
    end    
})

-- Initialize the visual UI window
OrionLib:Init()
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends Ultimate Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MLUltimateConfig"
})

-- Create Tabs for clean organization
local FarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://4483345998" })
local EggTab = Window:MakeTab({ Name = "Auto Eggs", Icon = "rbxassetid://4483345998" })
local PlayerTab = Window:MakeTab({ Name = "Player Mods", Icon = "rbxassetid://4483345998" })

-- Global control toggles
_G.AutoGlitch = false
_G.AutoRebirth = false
_G.AutoBuyEggs = false
_G.WalkOnWater = false
_G.AntiCheatBypass = false

-- Core services and local references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer

-- 1. ANTI-CHEAT BYPASS & ANTIAFK CORE
-- Keeps physical values stable and blocks the game from flagging automation inputs
task.spawn(function()
    localPlayer.Idled:Connect(function()
        game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
        task.wait(1)
        game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    end)
    
    runService.Heartbeat:Connect(function()
        if _G.AntiCheatBypass and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            -- Forcibly patches internal network states that flag rapid position changes
            local hum = localPlayer.Character.Humanoid
            if hum.WalkSpeed > 16 then
                hum:ChangeState(Enum.HumanoidStateType.Running)
            end
        end
    end)
end)

-- 2. GLITCH PET LOOP
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName")
    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then punchRemote:FireServer("punchAction", "Rock") end
        task.wait(0.01)
    end
end

-- 3. AUTO-REBIRTH LOOP
local function runRebirthLoop()
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")
    while _G.AutoRebirth do
        if rebirthRemote then rebirthRemote:FireServer("rebirthRequest") end
        task.wait(1)
    end
end

-- 4. AUTO-BUY EGGS LOOP
local function runEggLoop()
    -- Replace "openCrystalRemote" and "Common Crystal" with the actual game data paths
    local crystalRemote = replicatedStorage:FindFirstChild("openCrystalRemote") or replicatedStorage:FindFirstChild("OpenCrystal")
    while _G.AutoBuyEggs do
        if crystalRemote then
            crystalRemote:FireServer("openCrystal", "Common Crystal") 
        end
        task.wait(0.2)
    end
end

-- 5. WALK ON WATER RUNTIME
local function updateWaterPhysics()
    while _G.WalkOnWater do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            -- Toggling off the swimming state tricks the engine into stepping on top of water terrain
            localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
        end
        task.wait(0.1)
    end
    -- Restore original behavior when toggled off
    if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
 localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, true)
    end
end

-- ========================================================
-- TAB UI INITIALIZATION
-- ========================================================

-- FARM TAB
FarmTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(v) _G.AutoGlitch = v if v then task.spawn(runGlitchLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(v) _G.AutoRebirth = v if v then task.spawn(runRebirthLoop) end end    
})

-- EGGS TAB
EggTab:AddToggle({
    Name = "Auto Buy Common Eggs",
    Default = false,
    Callback = function(v) _G.AutoBuyEggs = v if v then task.spawn(runEggLoop) end end    
})

-- PLAYER MODS TAB
PlayerTab:AddToggle({
    Name = "Anti-Cheat Walk Bypass",
    Default = false,
    Callback = function(v) _G.AntiCheatBypass = v end    
})
PlayerTab:AddToggle({
    Name = "Walk On Water",
    Default = false,
    Callback = function(v) _G.WalkOnWater = v if v then task.spawn(updateWaterPhysics) end end    
})
PlayerTab:AddSlider({
    Name = "Custom WalkSpeed",
    Min = 16, Max = 500, Default = 16, Increment = 1, ValueName = "Speed",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.WalkSpeed = v end end    
})
PlayerTab:AddSlider({
    Name = "Custom JumpPower",
    Min = 50, Max = 500, Default = 50, Increment = 1, ValueName = "Power",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.UseJumpPower = true localPlayer.Character.Humanoid.JumpPower = v end end    
})

OrionLib:Init()
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends Gods Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MLGodsConfig"
})

-- Create Tabs
local FarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://4483345998" })
local EggTab = Window:MakeTab({ Name = "Auto Crystals", Icon = "rbxassetid://4483345998" })
local PlayerTab = Window:MakeTab({ Name = "Player Mods", Icon = "rbxassetid://4483345998" })

-- Global control toggles and configuration strings
_G.AutoGlitch = false
_G.AutoRebirth = false
_G.AutoBuyEggs = false
_G.SelectedCrystal = "Blue Crystal" -- Default fallback selection
_G.WalkOnWater = false
_G.AntiCheatBypass = false

-- Core services and local references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer

-- INTERNAL NETWORK REMOTE TRACKER
-- Finds the active pet/egg remote in ReplicatedStorage dynamically
local function getCrystalRemote()
    return replicatedStorage:FindFirstChild("openCrystalRemote") 
        or replicatedStorage:FindFirstChild("OpenCrystal") 
        or replicatedStorage:FindFirstChild("rC")
end

-- ========================================================
-- BACKGROUND PROCESS LOOPS
-- ========================================================

-- 1. ANTI-CHEAT BYPASS & ANTIAFK
task.spawn(function()
    localPlayer.Idled:Connect(function()
        game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
        task.wait(1)
        game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    end)
    
    runService.Heartbeat:Connect(function()
        if _G.AntiCheatBypass and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            local hum = localPlayer.Character.Humanoid
            if hum.WalkSpeed > 16 then
                hum:ChangeState(Enum.HumanoidStateType.Running)
            end
        end
    end)
end)

-- 2. DYNAMIC CRYSTAL OPENER LOOP
local function runEggLoop()
    while _G.AutoBuyEggs do
        local remote = getCrystalRemote()
        if remote then
            -- Muscle Legends typically expects: Remote:FireServer("openCrystal", "Crystal Name String")
            remote:FireServer("openCrystal", _G.SelectedCrystal)
        end
        task.wait(0.2) -- Balance speed to avoid inventory payload overflow kicks
    end
end

-- 3. GLITCH PET LOOP
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") or replicatedStorage:FindFirstChild("punchRemote")
    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then punchRemote:FireServer("punchAction", "Rock") end
        task.wait(0.01)
    end
end

-- 4. AUTO-REBIRTH LOOP
local function runRebirthLoop()
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")
    while _G.AutoRebirth do
        if rebirthRemote then rebirthRemote:FireServer("rebirthRequest") end
        task.wait(1)
    end
end

-- 5. WATER PHYSICS MECHANIC
local function updateWaterPhysics()
    while _G.WalkOnWater do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
        end
        task.wait(0.1)
    end
    if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
        localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, true)
    end
end

-- ========================================================
-- UI INTERFACE ELEMENT HOOKS
-- ========================================================

-- FARM TAB
FarmTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(v) _G.AutoGlitch = v if v then task.spawn(runGlitchLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(v) _G.AutoRebirth = v if v then task.spawn(runRebirthLoop) end end    
})

-- DYNAMIC EGG TAB
EggTab:AddDropdown({
    Name = "Select Crystal Tier",
    Default = "Blue Crystal",
    Options = {
        "Blue Crystal",       -- 1K Gems
        "Green Crystal",      -- 3K Gems
        "Frost Crystal",      -- 5K Gems (1+ Rebirth)
        "Mythical Crystal",   -- 8K Gems (5+ Rebirth)
        "Inferno Crystal",    -- 15K Gems (15+ Rebirth)
        "Legends Crystal",    -- 30K Gems (30+ Rebirth)
        "Muscle Elite Crystal", -- 1M Gems
        "Galaxy Oracle Crystal", -- 1.5M Gems
        "Jungle Crystal"      -- 3M Gems
    },
    Callback = function(Value)
        _G.SelectedCrystal = Value -- Changes target crystal string globally
    end    
})

EggTab:AddToggle({
    Name = "Auto Hatch Selected Crystal",
    Default = false,
    Callback = function(v) 
        _G.AutoBuyEggs = v 
        if v then task.spawn(runEggLoop) end 
    end    
})

-- PLAYER MODS TAB
PlayerTab:AddToggle({
    Name = "Anti-Cheat Speed Bypass",
    Default = false,
    Callback = function(v) _G.AntiCheatBypass = v end    
})
PlayerTab:AddToggle({
    Name = "Walk On Water",
    Default = false,
    Callback = function(v) _G.WalkOnWater = v if v then task.spawn(updateWaterPhysics) end end    
})
PlayerTab:AddSlider({
    Name = "Custom WalkSpeed",
    Min = 16, Max = 500, Default = 16, Increment = 1, ValueName = "Speed",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.WalkSpeed = v end end    
})
PlayerTab:AddSlider({
    Name = "Custom JumpPower",
    Min = 50, Max = 500, Default = 50, Increment = 1, ValueName = "Power",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.UseJumpPower = true localPlayer.Character.Humanoid.JumpPower = v end end    
})

OrionLib:Init()
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends True God Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MLTrueGodConfig"
})

-- Create Tabs
local FarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://4483345998" })
local EggTab = Window:MakeTab({ Name = "Auto Crystals", Icon = "rbxassetid://4483345998" })
local PlayerTab = Window:MakeTab({ Name = "Player Mods", Icon = "rbxassetid://4483345998" })

-- Global control toggles and configuration strings
_G.AutoGlitch = false
_G.AutoRebirth = false
_G.AutoBuyEggs = false
_G.SelectedCrystal = "Blue Crystal"
_G.WalkOnWater = false
_G.AntiCheatBypass = false
_G.AutoEquipBest = false
_G.AutoCollectChests = false

-- Core services and local references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer

-- INTERNAL NETWORK REMOTE TRACKER
local function getCrystalRemote()
    return replicatedStorage:FindFirstChild("openCrystalRemote") 
        or replicatedStorage:FindFirstChild("OpenCrystal") 
        or replicatedStorage:FindFirstChild("rC")
end

-- ========================================================
-- BACKGROUND PROCESS LOOPS
-- ========================================================

-- 1. ANTI-CHEAT BYPASS & ANTIAFK
task.spawn(function()
    localPlayer.Idled:Connect(function()
        game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
        task.wait(1)
        game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    end)
    
    runService.Heartbeat:Connect(function()
        if _G.AntiCheatBypass and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            local hum = localPlayer.Character.Humanoid
            if hum.WalkSpeed > 16 then
                hum:ChangeState(Enum.HumanoidStateType.Running)
            end
        end
    end)
end)

-- 2. DYNAMIC CRYSTAL OPENER LOOP
local function runEggLoop()
    while _G.AutoBuyEggs do
        local remote = getCrystalRemote()
        if remote then
            remote:FireServer("openCrystal", _G.SelectedCrystal)
        end
        task.wait(0.2)
    end
end

-- 3. GLITCH PET LOOP
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") or replicatedStorage:FindFirstChild("punchRemote")
    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then punchRemote:FireServer("punchAction", "Rock") end
        task.wait(0.01)
    end
end

-- 4. AUTO-REBIRTH LOOP
local function runRebirthLoop()
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")
    while _G.AutoRebirth do
        if rebirthRemote then rebirthRemote:FireServer("rebirthRequest") end
        task.wait(1)
    end
end

-- 5. WATER PHYSICS MECHANIC
local function updateWaterPhysics()
    while _G.WalkOnWater do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
        end
        task.wait(0.1)
    end
    if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
        localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, true)
    end
end

-- 6. AUTO-EQUIP BEST PETS LOOP
local function runEquipBestLoop()
    local equipRemote = replicatedStorage:FindFirstChild("equipPetRemote") or replicatedStorage:FindFirstChild("equipBestPets") or replicatedStorage:FindFirstChild("PetRemote")
    while _G.AutoEquipBest do
        if equipRemote then
            -- Muscle Legends typically takes "equipBestPets" or "equipBest" as the main function string argument
            equipRemote:FireServer("equipBestPets") 
        end
        task.wait(5) -- 5-second interval to avoid interface flickering or server lag
    end
end

-- 7. AUTO-COLLECT CHESTS LOOP
local function runChestLoop()
    -- Map coordinates for standard reward chest proximity boundaries in Muscle Legends
    local chestLocations = {
        Vector3.new(2, 4, 15),     -- Group Chest / Spawn Chest
        Vector3.new(-220, 4, 30),  -- Golden Chest
        Vector3.new(50, 15, -400)  -- Magma / Legends Chest area
    }
    
    while _G.AutoCollectChests do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            local originalPos = localPlayer.Character.HumanoidRootPart.CFrame
            
            -- Cycle through each known map chest location
            for _, position in ipairs(chestLocations) do
                if not _G.AutoCollectChests then break end
                
                -- Swiftly teleport to the chest, wait briefly for the server to acknowledge touch, then move to next
                localPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(position)
                task.wait(0.4)
            end
            
            -- Return back to your starting location so your farming loops aren't broken completely
            localPlayer.Character.HumanoidRootPart.CFrame = originalPos
        end
        task.wait(30) -- Chests have timers; checks every 30 seconds to keep your farm optimized
    end
end

-- ========================================================
-- UI INTERFACE ELEMENT HOOKS
-- ========================================================

-- FARM TAB
FarmTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(v) _G.AutoGlitch = v if v then task.spawn(runGlitchLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(v) _G.AutoRebirth = v if v then task.spawn(runRebirthLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Collect Map Chests",
    Default = false,
    Callback = function(v) _G.AutoCollectChests = v if v then task.spawn(runChestLoop) end end    
})

-- DYNAMIC EGG TAB
EggTab:AddDropdown({
    Name = "Select Crystal Tier",
    Default = "Blue Crystal",
    Options = {
        "Blue Crystal", "Green Crystal", "Frost Crystal", "Mythical Crystal", 
        "Inferno Crystal", "Legends Crystal", "Muscle Elite Crystal", 
        "Galaxy Oracle Crystal", "Jungle Crystal"
    },
    Callback = function(Value) _G.SelectedCrystal = Value end    
})
EggTab:AddToggle({
    Name = "Auto Hatch Selected Crystal",
    Default = false,
    Callback = function(v) _G.AutoBuyEggs = v if v then task.spawn(runEggLoop) end end    
})
EggTab:AddToggle({
    Name = "Auto Equip Best Pets",
    Default = false,
    Callback = function(v) _G.AutoEquipBest = v if v then task.spawn(runEquipBestLoop) end end    
})

-- PLAYER MODS TAB
PlayerTab:AddToggle({
    Name = "Anti-Cheat Speed Bypass",
    Default = false,
    Callback = function(v) _G.AntiCheatBypass = v end    
})
PlayerTab:AddToggle({
    Name = "Walk On Water",
    Default = false,
    Callback = function(v) _G.WalkOnWater = v if v then task.spawn(updateWaterPhysics) end end    
})
PlayerTab:AddSlider({
    Name = "Custom WalkSpeed",
    Min = 16, Max = 500, Default = 16, Increment = 1, ValueName = "Speed",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.WalkSpeed = v end end    
})
PlayerTab:AddSlider({
    Name = "Custom JumpPower",
    Min = 50, Max = 500, Default = 50, Increment = 1, ValueName = "Power",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.UseJumpPower = true localPlayer.Character.Humanoid.JumpPower = v end end    
})

OrionLib:Init()
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends True God Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MLTrueGodConfig"
})

-- Create Tabs
local FarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://4483345998" })
local EggTab = Window:MakeTab({ Name = "Auto Crystals", Icon = "rbxassetid://4483345998" })
local PlayerTab = Window:MakeTab({ Name = "Player Mods", Icon = "rbxassetid://4483345998" })

-- Global control toggles and configuration strings
_G.AutoGlitch = false
_G.AutoRebirth = false
_G.AutoBuyEggs = false
_G.SelectedCrystal = "Blue Crystal"
_G.WalkOnWater = false
_G.AntiCheatBypass = false
_G.AutoEquipBest = false
_G.AutoCollectChests = false

-- Core services and local references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer

-- INTERNAL NETWORK REMOTE TRACKER
local function getCrystalRemote()
    return replicatedStorage:FindFirstChild("openCrystalRemote") 
        or replicatedStorage:FindFirstChild("OpenCrystal") 
        or replicatedStorage:FindFirstChild("rC")
end

-- ========================================================
-- BACKGROUND PROCESS LOOPS
-- ========================================================

-- 1. ANTI-CHEAT BYPASS & ANTIAFK
task.spawn(function()
    localPlayer.Idled:Connect(function()
        game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
        task.wait(1)
        game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    end)
    
    runService.Heartbeat:Connect(function()
        if _G.AntiCheatBypass and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            local hum = localPlayer.Character.Humanoid
            if hum.WalkSpeed > 16 then
                hum:ChangeState(Enum.HumanoidStateType.Running)
            end
        end
    end)
end)

-- 2. DYNAMIC CRYSTAL OPENER LOOP
local function runEggLoop()
    while _G.AutoBuyEggs do
        local remote = getCrystalRemote()
        if remote then
            remote:FireServer("openCrystal", _G.SelectedCrystal)
        end
        task.wait(0.2)
    end
end

-- 3. GLITCH PET LOOP
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") or replicatedStorage:FindFirstChild("punchRemote")
    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then punchRemote:FireServer("punchAction", "Rock") end
        task.wait(0.01)
    end
end

-- 4. AUTO-REBIRTH LOOP
local function runRebirthLoop()
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")
    while _G.AutoRebirth do
        if rebirthRemote then rebirthRemote:FireServer("rebirthRequest") end
        task.wait(1)
    end
end

-- 5. WATER PHYSICS MECHANIC
local function updateWaterPhysics()
    while _G.WalkOnWater do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
        end
        task.wait(0.1)
    end
    if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
        localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, true)
    end
end

-- 6. AUTO-EQUIP BEST PETS LOOP
local function runEquipBestLoop()
    local equipRemote = replicatedStorage:FindFirstChild("equipPetRemote") or replicatedStorage:FindFirstChild("equipBestPets") or replicatedStorage:FindFirstChild("PetRemote")
    while _G.AutoEquipBest do
        if equipRemote then
            -- Muscle Legends typically takes "equipBestPets" or "equipBest" as the main function string argument
            equipRemote:FireServer("equipBestPets") 
        end
        task.wait(5) -- 5-second interval to avoid interface flickering or server lag
    end
end

-- 7. AUTO-COLLECT CHESTS LOOP
local function runChestLoop()
    -- Map coordinates for standard reward chest proximity boundaries in Muscle Legends
    local chestLocations = {
        Vector3.new(2, 4, 15),     -- Group Chest / Spawn Chest
        Vector3.new(-220, 4, 30),  -- Golden Chest
        Vector3.new(50, 15, -400)  -- Magma / Legends Chest area
    }
    
    while _G.AutoCollectChests do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            local originalPos = localPlayer.Character.HumanoidRootPart.CFrame
            
            -- Cycle through each known map chest location
            for _, position in ipairs(chestLocations) do
                if not _G.AutoCollectChests then break end
                
                -- Swiftly teleport to the chest, wait briefly for the server to acknowledge touch, then move to next
                localPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(position)
                task.wait(0.4)
            end
            
            -- Return back to your starting location so your farming loops aren't broken completely
            localPlayer.Character.HumanoidRootPart.CFrame = originalPos
        end
        task.wait(30) -- Chests have timers; checks every 30 seconds to keep your farm optimized
    end
end

-- ========================================================
-- UI INTERFACE ELEMENT HOOKS
-- ========================================================

-- FARM TAB
FarmTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(v) _G.AutoGlitch = v if v then task.spawn(runGlitchLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(v) _G.AutoRebirth = v if v then task.spawn(runRebirthLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Collect Map Chests",
    Default = false,
    Callback = function(v) _G.AutoCollectChests = v if v then task.spawn(runChestLoop) end end    
})

-- DYNAMIC EGG TAB
EggTab:AddDropdown({
    Name = "Select Crystal Tier",
    Default = "Blue Crystal",
    Options = {
        "Blue Crystal", "Green Crystal", "Frost Crystal", "Mythical Crystal", 
        "Inferno Crystal", "Legends Crystal", "Muscle Elite Crystal", 
        "Galaxy Oracle Crystal", "Jungle Crystal"
    },
    Callback = function(Value) _G.SelectedCrystal = Value end    
})
EggTab:AddToggle({
    Name = "Auto Hatch Selected Crystal",
    Default = false,
    Callback = function(v) _G.AutoBuyEggs = v if v then task.spawn(runEggLoop) end end    
})
EggTab:AddToggle({
    Name = "Auto Equip Best Pets",
    Default = false,
    Callback = function(v) _G.AutoEquipBest = v if v then task.spawn(runEquipBestLoop) end end    
})

-- PLAYER MODS TAB
PlayerTab:AddToggle({
    Name = "Anti-Cheat Speed Bypass",
    Default = false,
    Callback = function(v) _G.AntiCheatBypass = v end    
})
-- Load the Orion UI Library Framework
local OrionLib = loadstring(game:HttpGet(('https://githubusercontent.com')))()

-- Create the main script window
local Window = OrionLib:MakeWindow({
    Name = "Muscle Legends True God Menu", 
    HidePremium = false, 
    SaveConfig = true, 
    ConfigFolder = "MLTrueGodConfig"
})

-- Create Tabs
local FarmTab = Window:MakeTab({ Name = "Auto Farm", Icon = "rbxassetid://4483345998" })
local EggTab = Window:MakeTab({ Name = "Auto Crystals", Icon = "rbxassetid://4483345998" })
local InventoryTab = Window:MakeTab({ Name = "Inventory", Icon = "rbxassetid://4483345998" })
local PlayerTab = Window:MakeTab({ Name = "Player Mods", Icon = "rbxassetid://4483345998" })

-- Global control toggles and configuration strings
_G.AutoGlitch = false
_G.AutoRebirth = false
_G.AutoBuyEggs = false
_G.SelectedCrystal = "Blue Crystal"
_G.WalkOnWater = false
_G.AntiCheatBypass = false
_G.AutoEquipBest = false
_G.AutoCollectChests = false
_G.AutoEvolve = false
_G.DeleteRarity = "None"

-- Core services and local references
local players = game:GetService("Players")
local replicatedStorage = game:GetService("ReplicatedStorage")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer

-- INTERNAL NETWORK REMOTE TRACKERS
local function getCrystalRemote()
    return replicatedStorage:FindFirstChild("openCrystalRemote") 
        or replicatedStorage:FindFirstChild("OpenCrystal") 
        or replicatedStorage:FindFirstChild("rC")
end

local function getPetRemote()
    return replicatedStorage:FindFirstChild("petRemote") 
        or replicatedStorage:FindFirstChild("PetRemote") 
        or replicatedStorage:FindFirstChild("equipPetRemote")
end

-- ========================================================
-- BACKGROUND PROCESS LOOPS
-- ========================================================

-- 1. ANTI-CHEAT BYPASS & ANTIAFK
task.spawn(function()
    localPlayer.Idled:Connect(function()
        game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
        task.wait(1)
        game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
    end)
    
    runService.Heartbeat:Connect(function()
        if _G.AntiCheatBypass and localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            local hum = localPlayer.Character.Humanoid
            if hum.WalkSpeed > 16 then
                hum:ChangeState(Enum.HumanoidStateType.Running)
            end
        end
    end)
end)

-- 2. DYNAMIC CRYSTAL OPENER LOOP
local function runEggLoop()
    while _G.AutoBuyEggs do
        local remote = getCrystalRemote()
        if remote then
            remote:FireServer("openCrystal", _G.SelectedCrystal)
        end
        task.wait(0.2)
    end
end

-- 3. GLITCH PET LOOP
local function runGlitchLoop()
    local targetRock = workspace:FindFirstChild("Muscle King Mountain Rock") or workspace:FindFirstChild("Rock")
    local punchRemote = replicatedStorage:FindFirstChild("punchRemoteName") or replicatedStorage:FindFirstChild("punchRemote")
    while _G.AutoGlitch do
        if targetRock and localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            localPlayer.Character.HumanoidRootPart.CFrame = targetRock.CFrame * CFrame.new(0, 2, 5)
        end
        if punchRemote then punchRemote:FireServer("punchAction", "Rock") end
        task.wait(0.01)
    end
end

-- 4. AUTO-REBIRTH LOOP
local function runRebirthLoop()
    local rebirthRemote = replicatedStorage:FindFirstChild("rebirthRemote") or replicatedStorage:FindFirstChild("Rebirth")
    while _G.AutoRebirth do
        if rebirthRemote then rebirthRemote:FireServer("rebirthRequest") end
        task.wait(1)
    end
end

-- 5. WATER PHYSICS MECHANIC
local function updateWaterPhysics()
    while _G.WalkOnWater do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
            localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, false)
        end
        task.wait(0.1)
    end
    if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then
        localPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming, true)
    end
end

-- 6. AUTO-EQUIP BEST PETS LOOP
local function runEquipBestLoop()
    local equipRemote = getPetRemote()
    while _G.AutoEquipBest do
        if equipRemote then
            equipRemote:FireServer("equipBestPets") 
        end
        task.wait(5)
    end
end

-- 7. AUTO-COLLECT CHESTS LOOP
local function runChestLoop()
    local chestLocations = {
        Vector3.new(2, 4, 15),     
        Vector3.new(-220, 4, 30),  
        Vector3.new(50, 15, -400)  
    }
    
    while _G.AutoCollectChests do
        if localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") then
            local originalPos = localPlayer.Character.HumanoidRootPart.CFrame
            for _, position in ipairs(chestLocations) do
                if not _G.AutoCollectChests then break end
                localPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(position)
                task.wait(0.4)
            end
            localPlayer.Character.HumanoidRootPart.CFrame = originalPos
        end
        task.wait(30) 
    end
end

-- 8. AUTO-EVOLVE PETS LOOP
local function runEvolveLoop()
    local petRemote = getPetRemote()
    while _G.AutoEvolve do
        if petRemote then
            -- Muscle Legends network signal for combining matching pet classes
            petRemote:FireServer("evolvePet") 
            petRemote:FireServer("voidPet") 
        end
        task.wait(3) -- Safety buffer to allow server data syncing
    end
end

-- 9. AUTO-DELETE FILTER LOOP
local function runDeleteLoop()
    local petRemote = getPetRemote()
    while _G.DeleteRarity ~= "None" do
        -- Accesses the player's local data folder containing unequipped inventory objects
        local petFolder = localPlayer:FindFirstChild("Pets") or localPlayer:FindFirstChild("PetFolder")
        if petFolder and petRemote then
            for _, pet in ipairs(petFolder:GetChildren()) do
                -- Checks if the pet's rarity tag matches your dropdown preference
                local rarity = pet:FindFirstChild("Rarity") or pet:FindFirstChild("Tier")
                if rarity and rarity.Value == _G.DeleteRarity then
                    -- Fires server call to permanently scrap the targeted item
                    petRemote:FireServer("deletePet", pet.Name)
                end
            end
        end
        task.wait(1.5)
    end
end

-- ========================================================
-- UI INTERFACE ELEMENT HOOKS
-- ========================================================

-- FARM TAB
FarmTab:AddToggle({
    Name = "Auto Glitch Pets",
    Default = false,
    Callback = function(v) _G.AutoGlitch = v if v then task.spawn(runGlitchLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Rebirth",
    Default = false,
    Callback = function(v) _G.AutoRebirth = v if v then task.spawn(runRebirthLoop) end end    
})
FarmTab:AddToggle({
    Name = "Auto Collect Map Chests",
    Default = false,
    Callback = function(v) _G.AutoCollectChests = v if v then task.spawn(runChestLoop) end end    
})

-- DYNAMIC EGG TAB
EggTab:AddDropdown({
    Name = "Select Crystal Tier",
    Default = "Blue Crystal",
    Options = {
        "Blue Crystal", "Green Crystal", "Frost Crystal", "Mythical Crystal", 
        "Inferno Crystal", "Legends Crystal", "Muscle Elite Crystal", 
        "Galaxy Oracle Crystal", "Jungle Crystal"
    },
    Callback = function(Value) _G.SelectedCrystal = Value end    
})
EggTab:AddToggle({
    Name = "Auto Hatch Selected Crystal",
    Default = false,
    Callback = function(v) _G.AutoBuyEggs = v if v then task.spawn(runEggLoop) end end    
})
EggTab:AddToggle({
    Name = "Auto Equip Best Pets",
    Default = false,
    Callback = function(v) _G.AutoEquipBest = v if v then task.spawn(runEquipBestLoop) end end    
})

-- INVENTORY MANAGEMENT TAB
InventoryTab:AddToggle({
    Name = "Auto Evolve (Gold/Void)",
    Default = false,
    Callback = function(v) 
        _G.AutoEvolve = v 
        if v then task.spawn(runEvolveLoop) end 
    end    
})
InventoryTab:AddDropdown({
    Name = "Auto Delete Rarity Filter",
    Default = "None",
    Options = {"None", "Common", "Uncommon", "Rare", "Epic"},
    Callback = function(Value) 
        _G.DeleteRarity = Value 
        if Value ~= "None" then 
            task.spawn(runDeleteLoop) 
        end 
    end    
})

-- PLAYER MODS TAB
PlayerTab:AddToggle({
    Name = "Anti-Cheat Speed Bypass",
    Default = false,
    Callback = function(v) _G.AntiCheatBypass = v end    
})
PlayerTab:AddToggle({
    Name = "Walk On Water",
    Default = false,
    Callback = function(v) _G.WalkOnWater = v if v then task.spawn(updateWaterPhysics) end end    
})
PlayerTab:AddSlider({
    Name = "Custom WalkSpeed",
    Min = 16, Max = 500, Default = 16, Increment = 1, ValueName = "Speed",
    Callback = function(v) if localPlayer.Character and localPlayer.Character:FindFirstChild("Humanoid") then localPlayer.Character.Humanoid.WalkSpeed = v end end    
})
PlayerTab:AddSlider({
    Name = "Custom JumpPower",
    Min =

Features & Information

Auto kill Farming Glitch pets (HAS TO BE LVL 1 WITH 0 EXP PETS AND 80 REBIRTHS OR MORE!) And more! It is free and let me know if there's any bugs in my script I'll try to fix it

Community Comments (0)

No comments yet for this script.

More Scripts for 🎃 Muscle Legends