egg placer
Key Required Patched

egg placer

My Mining BrainrotsRetrodedRetroded 3.3K views 11 executesUpdated Jan 28, 2026
5.0/ 5(3 votes)
30100% Positive
Lua Script•124 lines (3849 chars)
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "EggPlacerGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 220, 0, 320)
mainFrame.Position = UDim2.new(0.5, -110, 0.5, -160)
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true   -- можно двигать мышью
mainFrame.Parent = screenGui

local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 12)
uiCorner.Parent = mainFrame

local uiGradient = Instance.new("UIGradient")
uiGradient.Color = ColorSequence.new{
    ColorSequenceKeypoint.new(0, Color3.fromRGB(50,50,55)),
    ColorSequenceKeypoint.new(1, Color3.fromRGB(20,20,25))
}
uiGradient.Rotation = 90
uiGradient.Parent = mainFrame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundTransparency = 1
title.Text = "Egg Placer"
title.TextColor3 = Color3.fromRGB(220, 220, 255)
title.TextSize = 22
title.Font = Enum.Font.GothamBold
title.Parent = mainFrame

local buttonContainer = Instance.new("Frame")
buttonContainer.Size = UDim2.new(1, -20, 1, -50)
buttonContainer.Position = UDim2.new(0, 10, 0, 45)
buttonContainer.BackgroundTransparency = 1
buttonContainer.Parent = mainFrame

local uiListLayout = Instance.new("UIListLayout")
uiListLayout.Padding = UDim.new(0, 8)
uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder
uiListLayout.Parent = buttonContainer

local function createButton(number)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(1, 0, 0, 42)
    btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
    btn.BorderSizePixel = 0
    btn.Text = tostring(number)
    btn.TextColor3 = Color3.fromRGB(220, 220, 255)
    btn.TextSize = 20
    btn.Font = Enum.Font.GothamSemibold
    
    local corner = Instance.new("UICorner")
    corner.CornerRadius = UDim.new(0, 10)
    corner.Parent = btn
    
    btn.MouseEnter:Connect(function()
        btn.BackgroundColor3 = Color3.fromRGB(80, 80, 95)
    end)
    btn.MouseLeave:Connect(function()
        btn.BackgroundColor3 = Color3.fromRGB(60, 60, 70)
    end)
    
    btn.MouseButton1Click:Connect(function()
        local spotNumber = number
        local eggName = "Lava Egg"
        
        if number == 10 then
            -- пример: game.Players.LocalPlayer.Character.Humanoid.Health = 0
            return
        end
        
        local success, err = pcall(function()
            local rf = game:GetService("ReplicatedStorage")
                :WaitForChild("Packages")
                :WaitForChild("_Index")
                :WaitForChild("sleitnick_knit@1.4.7")
                :WaitForChild("knit")
                :WaitForChild("Services")
                :WaitForChild("BaseService")
                :WaitForChild("RF")
                :WaitForChild("PlaceEggAtSpot")
            
            rf:InvokeServer(spotNumber, eggName)
        end)
        
        if not success then
            warn("Ошибка при вызове PlaceEggAtSpot: " .. tostring(err))
        end
    end)
    
    btn.Parent = buttonContainer
end

for i = 1, 10 do
    createButton(i)
end

-- Кнопка закрытия (крестик в углу)
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50)
closeBtn.Text = "×"
closeBtn.TextColor3 = Color3.new(1,1,1)
closeBtn.TextSize = 24
closeBtn.Font = Enum.Font.GothamBold

local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 8)
closeCorner.Parent = closeBtn

closeBtn.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)

closeBtn.Parent = mainFrame

Features & Information

you can place lava egg
#egg placer#my mining brainrot#mmb

Community Comments (6)

GirlsAreScaryGirlsAreScaryJan 28, 2026

doesnt work

GirlsAreScaryGirlsAreScaryJan 28, 2026

It works, im just dumb

pakuptpakuptJan 28, 2026

Work, op - like script

dododood1234dododood1234Jan 29, 2026

this ai

Replying to @dododood1234
RetrodedRetrodedJan 29, 2026

@dododood1234 it doesn't matter if I wrote the code or Ai, we just need to find a way to do it. Ai will write it for us.

pakuptpakuptJan 29, 2026

It worked, but a patch came out unfortunately - but like it op

More Scripts for My Mining Brainrots