-- ==================== GRASS INCREMENTAL SIMULATOR GUI ==================== -- gooner345 local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "GoonerGrassGUI" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 320, 0, 490) frame.Position = UDim2.new(0.5, -160, 0.5, -245) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = frame -- Título local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 50) title.BackgroundColor3 = Color3.fromRGB(10, 10, 10) title.Text = "Grass Incremental Simulator" title.TextColor3 = Color3.fromRGB(0, 255, 100) title.TextSize = 18 title.Font = Enum.Font.GothamBold title.Parent = frame local subtitle = Instance.new("TextLabel") subtitle.Size = UDim2.new(1, 0, 0, 20) subtitle.Position = UDim2.new(0, 0, 0, 30) subtitle.BackgroundTransparency = 1 subtitle.Text = "gooner345" subtitle.TextColor3 = Color3.fromRGB(100, 255, 150) subtitle.TextSize = 14 subtitle.Font = Enum.Font.GothamSemibold subtitle.Parent = frame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = title -- Variables local autoPopEnabled = false local autoGrassEnabled = false local autoRebirthEnabled = false local maxUpgradesEnabled = false local autoTierEnabled = false -- Nueva variable local function createToggleButton(name, positionY, callback) local button = Instance.new("TextButton") button.Size = UDim2.new(0.9, 0, 0, 50) button.Position = UDim2.new(0.05, 0, 0, positionY) button.BackgroundColor3 = Color3.fromRGB(170, 0, 0) button.Text = name .. ": OFF" button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 16 button.Font = Enum.Font.GothamSemibold button.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 10) btnCorner.Parent = button button.MouseButton1Click:Connect(function() callback(button) end) return button end -- ==================== AUTO POP ==================== createToggleButton("Auto Pop", 70, function(btn) autoPopEnabled = not autoPopEnabled if autoPopEnabled then btn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) btn.Text = "Auto Pop: ON" task.spawn(function() local remote = game:GetService("ReplicatedStorage").Remotes.IncreasePop while autoPopEnabled do remote:FireServer(false) task.wait(0.08) end end) else btn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) btn.Text = "Auto Pop: OFF" end end) -- ==================== INFINITE PROGRAMMER ==================== local programmerBtn = Instance.new("TextButton") programmerBtn.Size = UDim2.new(0.9, 0, 0, 50) programmerBtn.Position = UDim2.new(0.05, 0, 0, 130) programmerBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200) programmerBtn.Text = "Infinite Programmer (Click)" programmerBtn.TextColor3 = Color3.fromRGB(255, 255, 255) programmerBtn.TextSize = 16 programmerBtn.Font = Enum.Font.GothamSemibold programmerBtn.Parent = frame local progCorner = Instance.new("UICorner") progCorner.CornerRadius = UDim.new(0, 10) progCorner.Parent = programmerBtn programmerBtn.MouseButton1Click:Connect(function() game:GetService("ReplicatedStorage").Remotes.Upgrade:FireServer({[1] = {["currencyName"] = "Pop", ["autoBuy"] = false, ["amount"] = 100000000000000000, ["max"] = 1e+42, ["cost"] = 10044754989, ["upgradeValue"] = "Programmers"}}) programmerBtn.Text = "Enviado!" task.wait(0.3) programmerBtn.Text = "Infinite Programmer (Click)" end) -- ==================== AUTO GRASS ==================== createToggleButton("Auto Grass", 190, function(btn) autoGrassEnabled = not autoGrassEnabled if autoGrassEnabled then btn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) btn.Text = "Auto Grass: ON" task.spawn(function() local remote = game:GetService("ReplicatedStorage").Remotes.GrassCollect local args = { [1] = { ["normal"] = 1, ["diamond"] = 0, ["silver"] = 0, ["ruby"] = 400, ["golden"] = 40 } } while autoGrassEnabled do remote:FireServer(unpack(args)) task.wait(0.15) end end) else btn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) btn.Text = "Auto Grass: OFF" end end) -- ==================== AUTO REBIRTH ==================== createToggleButton("Auto Rebirth", 250, function(btn) autoRebirthEnabled = not autoRebirthEnabled if autoRebirthEnabled then btn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) btn.Text = "Auto Rebirth: ON" task.spawn(function() while autoRebirthEnabled do game:GetService("ReplicatedStorage").Remotes.Rebirth:FireServer() task.wait(1) end end) else btn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) btn.Text = "Auto Rebirth: OFF" end end) -- ==================== AUTO TIER ==================== createToggleButton("Auto Tier", 310, function(btn) autoTierEnabled = not autoTierEnabled if autoTierEnabled then btn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) btn.Text = "Auto Tier: ON" task.spawn(function() local remote = game:GetService("ReplicatedStorage").Remotes.TierUpgrade while autoTierEnabled do remote:FireServer() task.wait(1.5) -- end end) else btn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) btn.Text = "Auto Tier: OFF" end end) -- ==================== MAX UPGRADES ==================== createToggleButton("Max Upgrades", 370, function(btn) maxUpgradesEnabled = not maxUpgradesEnabled if maxUpgradesEnabled then btn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) btn.Text = "Max Upgrades: ON" task.spawn(function() local remote = game:GetService("ReplicatedStorage").Remotes.Upgrade while maxUpgradesEnabled do remote:FireServer({[1] = {["currencyName"] = "Grass", ["autoBuy"] = false, ["amount"] = 7, ["max"] = 7, ["cost"] = 635, ["upgradeValue"] = "SpawnRate1"}}) task.wait(0.3) remote:FireServer({[1] = {["currencyName"] = "Grass", ["autoBuy"] = false, ["amount"] = 99, ["max"] = 99, ["cost"] = 9604490,["upgradeValue"] = "GrassValue"}}) task.wait(0.5) remote:FireServer({[1] = {["currencyName"] = "Grass", ["autoBuy"] = false, ["amount"] = 49, ["max"] = 49, ["cost"] = 144, ["upgradeValue"] = "GrassAmount"}}) task.wait(0.5) remote:FireServer({[1] = {["currencyName"] = "Rebirth",["autoBuy"] = false, ["amount"] = 6, ["max"] = 6, ["cost"] = 1365, ["upgradeValue"] = "GrassValue2"}}) task.wait(0.3) remote:FireServer({[1] = {["currencyName"] = "Rebirth",["autoBuy"] = false, ["amount"] = 5, ["max"] = 5, ["cost"] = 62, ["upgradeValue"] = "BladeRadius"}}) task.wait(0.3) remote:FireServer({[1] = {["currencyName"] = "Rebirth",["autoBuy"] = false, ["amount"] = 8, ["max"] = 8, ["cost"] = 765, ["upgradeValue"] = "SpawnRate2"}}) task.wait(0.8) end end) else btn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) btn.Text = "Max Upgrades: OFF" end end) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 40, 0, 40) closeBtn.Position = UDim2.new(1, -45, 0, 5) closeBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) closeBtn.Text = "X" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextSize = 20 closeBtn.Font = Enum.Font.GothamBold closeBtn.Parent = frame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 10) closeCorner.Parent = closeBtn closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() end) print("GUI cargada correctamente - gooner345")